SonarLint rules in latest plugin version

Hello to the community!

I would like to know about ruleset available in the latest sonarLint plugin for Eclipse. My components are:

- Eclipse IDE for Java Developers: Version: 2020-12 (4.18.0)
- SonarLint plugin 6.0
- Sonarqube Server 8.4.2

If I’m not wrong, when i sync with sonarqube server, the rules in Eclipse will be the same that i have in my sonarqube quality profiles for the available languages.

The question is: When sonarLint is not sync whith Sonarqube, do those rules correspond to a Sonarqube specific version?

It is important becuse some clients will work “offline” with SonarLint.

Thanks a lot!

Hi Alejandro!

As far as I know, when you have not sync your SonarLint to SonarQube, it is using the rules built-in in the plugin (check Window > Preferences > SonarLint > Rules Configuration and you shall see the built-in languages and rules applied by SonarLint when NOT in connected mode). Hope that helped!

The short answer is no. In general, releases of SonarLint and SonarQube will contain the latest available versions of the analysers. However, the releases of SonarLint and SonarQube are not synchronized, so there could be differences between the analyzer versions.

The SonarLint release notes will list the analyzers that have been updated in that release. The easiest way to find these is to look at the releases in GitHub.

The release will either list the changes directly (e.g. here for SL for Visual Studio) or contain a link to the release notes in Jira (e.g. here for SL for IntelliJ).