What means 'Parsing error: “parserOptions.project” has been set for @typescript-eslint/parser.' error in IntelliJ IDEs family?

后端 未结 1 1990
生来不讨喜
生来不讨喜 2021-01-23 04:06

When I open .vue file, below error appears in my IntelliJ IDEA:

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


        
相关标签:
1条回答
  • 2021-01-23 04:44

    You need to add your files to the include array in your tsconfig:

    "include": [
      "path/to/src/**/*"
    ]
    

    Source: Github and StackOverflow

    0 讨论(0)
提交回复
热议问题