Parsing error: "parserOptions.project" has been set for @typescript-eslint/parser. The file does not match your project config: .eslintrc.js. The file must be included in at least one of the projects provided.eslint code example

Example: Parsing error: "parserOptions.project" has been set for @typescript-eslint/parser.

// DO NOT SET createDefaultProgram to true to prevent future breakage.

Create a new tsconfig.eslint.json
Add .eslintrc in .eslintignore
Ensure that ONLY the files you want to be linted are the ones only included.
4Make sure that in the package.json you only lint the files you want to be linted and are included in the config.