ESLint's TypeScript parser throws a "file was not found in any of the provided project(s)" error when trying to lint files not included in tsconfig.json. The solution is to add these files (like config files) to the ignores array in your ESLint configuration, or alternatively, include them in your tsconfig.json if you want full type-aware linting on them.
Table of contents
ContentsThe Error MessageTypeScript ProjectsUnderstanding parserOptions.projectThe SolutionAlternativeSort: