title: What means 'Parsing error: "parserOptions.project" has been set for @typescript-eslint/parser.' error in IntelliJ IDEs family?
body: <p>When I open <code>.vue</code> file, below error appears in my IntelliJ IDEA:</p>
  <pre><code>Parsing error: &quot;parserOptions.project&quot; has been set for @typescript-eslint/parser.
  The file does not match your project config: XX\XX\CurrentFile.vue.
  The file must be included in at least one of the projects provided.
  </code></pre>
  <p><a href="https://i.stack.imgur.com/u3Czx.png" rel="noreferrer"><img src="https://i.stack.imgur.com/u3Czx.png" alt="enter image description here" /></a></p>
  <p>Of course I will be glad if you teach me the solution, but first what I know what it means and WHY it appears.</p>
  <p>I suspect that it is a some kind of bug, or inaccurate error message. Experimentally known what:</p>
  <ol>
  <li>Sometimes it appears, sometimes - no.</li>
  <li>It always appears when update eslint.</li>
  <li>If to run <code>eslint</code> from console for some <code>.vue</code> file, eslint will finish the execution correctly. So seems like it is no eslint bug.</li>
  </ol>
  <p>My Eslint config (YAML):</p>
  <pre class="lang-yaml prettyprint-override"><code>parser: vue-eslint-parser
  parserOptions:
    parser: &quot;@typescript-eslint/parser&quot;
    sourceType: module
    project: tsconfig.json
    tsconfigRootDir: ./
    extraFileExtensions: [ &quot;.vue&quot; ]
  
  env:
    es6: true
    browser: true
    node: true
  
  plugins:
    - &quot;@typescript-eslint&quot;
    - vue
  
  
  rules:
    // ...
  </code></pre>
  <p>TypeScript settings:</p>
  <pre class="lang-json prettyprint-override"><code>{
    &quot;compilerOptions&quot;: {
  
      &quot;target&quot;: &quot;ES2017&quot;,
  
      &quot;module&quot;: &quot;CommonJS&quot;,
      &quot;moduleResolution&quot;: &quot;node&quot;,
      &quot;esModuleInterop&quot;: true,
      &quot;allowSyntheticDefaultImports&quot;: true,
  
      &quot;sourceMap&quot;: true,
  
      &quot;experimentalDecorators&quot;: true,
      &quot;skipLibCheck&quot;: true,
  
      &quot;strict&quot;: true,
      &quot;noUnusedParameters&quot;: true,
      &quot;noImplicitReturns&quot;: true,
  
      &quot;importsNotUsedAsValues&quot;: &quot;preserve&quot;, // Limitation of the transpileOnly mode from ts-loader for .vue files.
  
      &quot;baseUrl&quot;: &quot;./&quot;,
      &quot;paths&quot;: {
        // ...
      }
    }
  }
  
  </code></pre>