Real-time analysis with SonarLint
Developers who use SonarQube in a CI context often face the problem of having to wait too long before they get the results of the SonarQube analysis. They must commit their code and wait for the end of the CI pipeline before they get the results of the code analysis.
To address this problem and, therefore, improve the daily lives of developers, SonarSource—the editor of SonarQube—provides another tool, SonarLint, which allows real-time code analysis.
SonarLint is a free and open source tool (https://www.sonarlint.org/) that downloads differently depending on your development tool and development language. SonarLint is available for Eclipse, IntelliJ IDEA, Visual Studio, and Visual Studio Code (VS Code) integrated development environments (IDEs).
In this book, we will look at an example of using SonarLint on an application written in TypeScript using the VS Code IDE. The prerequisite to using SonarLint is having the JRE installed...