2 ms·
Linting is something that people might do on every commit these days. Commits that take more than 150ms to complete are annoying. And also on every CI run. Oh w
by avgcorrection 4y ago
Linting is something that people might do on every commit these days. Commits that take more than 150ms to complete are annoying. And also on every CI run. Oh well every CI run doesn’t sound bad. Except you’re also running 30 other things in order to check 30 other “should always work/be the case” invariants.
EDIT: Missed your point about caching already-linted file. In that case maybe performance doesn’t matter.
> After all, performance optimizing a tool where N is too small to matter is the root of all evil.
Picking a third-party tool that does what it does and happens to be relatively fast. Where’s the evil in that?