INFO: Since SonarTS v2.0, TypeScript analysis is performed by SonarJS analyzer v6.0 or later. No TypeScript analysis is performed by SonarTS.
While running sonar-scanner and sending reports to sonarqube developer edition 8.1, I am getting this error and typescript files are not analyzed, this was working on community edition 7.9.1.
SonarJS plugin in sonarqube node - sonar-javascript-plugin-6.1.0.11503.jar
SonarTS plugin in sonarqube noe - sonar-typescript-plugin-2.1.0.4359.jar
This log is just a note, that actual analysis will be done by SonarJS plugin. Could you share full logs of analysis to understand why TS analysis is missing?
Log part where it says typescript analysis is skipped
07:02:26.797 INFO: Sensor SonarTS [typescript]
07:02:26.797 INFO: Since SonarTS v2.0, TypeScript analysis is performed by SonarJS analyzer v6.0 or later. No TypeScript analysis is performed by SonarTS.
07:02:26.797 INFO: Sensor SonarTS [typescript] (done) | time=0ms
That’s the line where the interesting long starts. So the problem is that most of your TS files are not matching any tsconfig file, we are not analyzing those.
07:03:37.498 INFO: Skipping 157 files with no tsconfig.json
So check that for each TS file there is at least one tsconfig.json in one of the directories above.