Reproduction case for the VSCode ESLint not triggering an ESLint re-parse of all files when one is changed. The result is that type information is not re-computed for downstream files. That can cause erroneous lint rule reports.
Screen.Recording.2024-01-22.at.12.51.52.PM.mov
npm i- Open in VS Code with the ESLint extension enabled
- Observe that
sink.tshas a `` ESLint error - Change the type in
source.tsfromanytounknown - Observe that
sink.tsstill has an ESLint error, even thoughsource.tswas fixed.
Restarting the ESLint server at this point will cause the error to clear.