Parsing error: "parserOptions.project" has been set for @typescript-eslint/parser. TParsing error: "parserOptions.project" has been set for @typescript-eslint/parser. 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.