2 ms·
> Keep in mind that you don't have to lint an already linted file if you cache its hash. yeah, if only that was the case. Even if the file hasn't changed if it
by minraws 4y ago
> Keep in mind that you don't have to lint an already linted file if you cache its hash.
yeah, if only that was the case. Even if the file hasn't changed if it's dependencies have changed you need to lint again. And doing dependency analysis on most weirdly coupled codebases out there, is not trivial nor accurate tbh.
And not running a good linter and letting a bug through is the most shit feeling you will have in your life. Trust me on that.
- muglug 4y agoIt depends on the type of linting being done. For linters that perform type inference, fanout means having to relint files that might not have changed. But many linters don’t need the full graph — for example, file formatting problems aren’t subject to fanout.
- bjourne 4y agoWhat linter functionality requires global analysis?