A new approach to analyze TypeScript projects

Hello TypeScript developers,

If you see new issues raised on files that were not visible before on SonarCloud, this is expected.

We made a change in our approach to scan TypeScript projects to be sure all .ts files used in your projects are really scanned. The previous approach was having some limitations so that files not referenced in tsconfig were not analyzed.

The TypeScript analyzer also supports directories in “references” in tsconfig, which also contributes to have all your .ts files analyzed.

Alex

A post was split to a new topic: How to avoid certain Typescript files from being scanned