Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-14900

Analysis of TypeScript in .vue files is failing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.9.1
    • Component/s: None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      When analyzing TypeScript code inside Vue.js single file components, analysis of .vue files is failing in case the first TypeScript file analyzed is not a .vue file.

      19:49:02.119 ERROR: Failed to analyze file [src/App.vue]: "parserOptions.project" has been set for @typescript-eslint/parser.
      The file does not match your project config: src/App.vue.
      The file must be included in at least one of the projects provided.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lukasz.jarocki Łukasz Jarocki
              Reporter:
              sonarqube.tech SonarQube Technical user
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: