1

I am really confused about SonarLint and SonarTS.

I have used SonarLint in my Visual Studio, but my client ask me to use SonarTs plugin

SonarLint does analysis for overall project and SonarTS does analysis for only Typescript Projects. Am I correct? Does SonarTsPlugine support C# code? I am totally confused. I have an idea about SonarQube And SonarLint difference, but no idea about SonarLint and SonarTS.

domino_katrino
  • 356
  • 3
  • 19
Ramesh Rajendran
  • 37,412
  • 45
  • 153
  • 234

2 Answers2

4

SonarLint is an IDE extension for IntelliJ IDEA, Eclipse, Visual Studio, VS Code, Atom.

SonarLint includes a list of language analyzer plugins, and SonarTS is the one for Typescript.

To check if SonarLint support TypeScript in your IDE visit https://www.sonarlint.org/ and click on your IDE name.

At the time I'm wiring this answer, TypeScript is included in SonarLint for VS Code, but not in SonarLint for Visual Studio.

  • I ran `SonarLint`. it Supports typescript as well other projects. Could you please take a look at this question? https://stackoverflow.com/questions/48580783/unmet-peer-dependency-angular-compiler2-4-5 – Ramesh Rajendran Feb 02 '18 at 10:36
0

SonarTs Plugin is a community plugin for SonarQube to analyse TypeScript code.

  1. if you install it on your SonarQube
  2. if you use connected mode of SonarLint in your IDE

then probably you can profit from SonarTs Plugin in your IDE (while I'm not sure if TS files will be at all analysed)

Elena Vilchik
  • 1,085
  • 6
  • 11