-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
Suggested Changes
I'd like to use ESLint's --cache functionality with typescript-eslint -- but according to the docs, the latter performs caching on a per-file basis. That suggests to me that it's incompatible with type-aware linting, since I might make a change in one file that would create a new lint in a different file -- one that might not have changed since the previous ESLint run.
typescript-eslint.io doesn't have any info about caching that I've been able to find. So I guess my suggestion for improving the docs would be:
- if ESLint caching is incompatible with type-aware linting, that should be noted in the docs, since it's a fairly significant caveat.
- if ESLint caching is compatible with type-aware linting, that seems like a pretty worthwhile thing to note in the docs as a way to speed up checks, maybe in the "Linting with Type Information" or FAQ page.
Affected URL(s)
https://typescript-eslint.io/docs/linting/type-linting/ and/or https://typescript-eslint.io/docs/linting/troubleshooting/