Slow analysis of Javascript/Typescript

After: Merge JS and TS analysis into single sensor · SonarSource/SonarJS@00b1ab0 · GitHub

The analysis of our TypeScript code began very slow. Almost twice as long as it used to. Could you please offer a solution for this? It now costs more than 16minutes extra to build our FE application.

Hi @Raoul_Blankestijn,

Thanks for the feedback. Yes we are aware of this issue since last release. Please check this post for the workaround until we do a fix:

In principle, using the property sonar.typescript.tsconfigPath to point to the tsconfig.json in the project root should solve the issue.

Cheers,
Victor

1 Like

Hi Victor,

Thanks for your quick response! We will try the workaround.

Cheers to you as well,

Raoul

1 Like