SonarLint for Visual Studio: v4.35 - Support TypeScript analysis

Hello Visual Studio users,

we’re pleased to announce a new SonarLint version for Visual Studio 2015 , 2017 , and 2019 .

After adding up-to-date JavaScript support in the previous version, we are now introducing the support for TypeScript analysis; this means that for example, if you are developing an ASP.NET Core application with a C# backend and an Angular fronted, you can benefit from our advanced code quality and security issues detection for the whole application directly in Visual Studio, without the need to switch between IDEs or linters.

You can take a look here at all the rules we have available in our analyzer for TypeScript. To verify if one rule is available in SonarLint, simply look for the :sonarlint: logo at the end of the page. And just like for JavaScript, you can now enable or disable some TypeScript rules in Visual Studio via the settings.json file.

In this first step, JavaScript and TypeScript anaysis does not benefit yet from quality profile synchronization or other connected mode benefits when you bind your project to SonarQube or SonarCloud, and we are considering adding this in the next few months; don’t hesitate to leave us your feedback if you are interested in this (or any other features) by posting here in the forum.

You can see the full release notes here