SonarLint for IntelliJ 4.6 has just been deployed to the JetBrains plugin repository, bringing analysis of TypeScript code to the JetBrains line of IDEs, including IntelliJ IDEA, WebStorm and PHPStorm. This was one of the product’s most voted features!
Install SonarLint from the JetBrains plugin repository and a recent Node.js runtime (>= 8.x), open a project that contains a
tsconfig.json and open a TypeScript file to see SonarLint highlight bugs and vulnerabilities in the code, on-the-fly.
You will also benefit from all SonarLint features that are already there for other supported languages:
- Enabling/disabling rules:
- Comprehensive issue description
- If you are already using SonarQube or SonarCloud for your TypeScript projects, then you can connect SonarLint to it (a.k.a. connected mode) to leverage the same rules and settings already applied on the project
Our TypeScript code analysis engine currently checks for more than 150 rules , covering both code quality and security fronts, with continuous updates.
What’s more, this version also brings an updated Python analyzer with 27 new rules and support for Python 3.8.
Enjoy, and feedback welcome on this same community forum!