4 ms·
> My projects typically use two tools that statically analyze code: linting, and tests. Erm. Tests aren't static analysis. I don't see the problem with runnin
by globular-toast 5y ago
> My projects typically use two tools that statically analyze code: linting, and tests.
Erm. Tests aren't static analysis.
I don't see the problem with running formatters in CI and I don't see how it could cause "chaos". The first stage in my CI pipelines is a QA check which includes running linters, formatters etc. It's up to each developer to make sure it passes and this can easily be achieved by installing the pre-commit hooks in their environments.
- thrower123 5y agoI do chuckle a little bit when I think about how all the linters and formatters and bundlers and transpilers and braindead test suites that have agglomerated onto JS development are effectively just a bad compiler with extra steps.
- gjvc 5y agoJS is the biggest local maxima for this sort of thing that the world has ever seen.