3 ms·
I don't do JS/TS, but I have no idea why all this hasn't converged on editorconfig rules. I write C# and do "linting" via editorconfig + ReSharper file layout
by namtab00 3y ago
I don't do JS/TS, but I have no idea why all this hasn't converged on editorconfig rules.
I write C# and do "linting" via editorconfig + ReSharper file layout formatting at dev time and via precommit hook with their CLI tool
I'm surely missing something crucial in that ecosystem that editorconfig can't handle...
- leipert 3y agoeditorconfig is mostly about formatting. Parts of the JavaScript ecosystem have converged on prettier for that. These linters do checks on the abstract syntax tree, and so they can statically analyze that e.g. you don’t use certain unsafe APIs or do things that might introduce performance issues or bugs.
- lloydatkinson 3y agoI also write C# and well... good question. Much of it is linting though, not just formatting.