>Do you have some source files that are somehow exempt from bugs and would be a waste of the linter's time?
Every file not touched in any given diff
Every file not touched in any given diff
What if the linter uses more context than a single file, a type-checker for example or even just checking the correct number of arguments (regardless of type) are passed to an imported function - or that that symbol is indeed even callable? Should we only run the linter on the caller's file, or the callee's, when they haven't both changed?
Also, ESLint doesn't do type checking. That's typescripts job, and apparently typescripts runtime isn't an issue.
In particular, the call site itself hasn't changed, as this thread assumes the linter is only run on changed files