Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

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.
 
PREVIOUS NEXT
Tagged: #Parsing #set
ADD COMMENT
Topic
Name
8+1 =