Rules enabled on the server, but not available in SonarLint

Please provide

  • Operating system: Windows 10
  • SonarLint plugin version: 4.5.1
  • Programming language you’re coding in: Java, HTML, CSS, JSP, Gradle
  • Is connected mode used: Yes
    • Connected to SonarCloud or SonarQube (and which version): SonarQube 8.9.10

And a thorough description of the problem / question: There are 35 rules “enabled on the server, but not available in SonarLint”. Is there a plan to enable these rules in future versions of SonarLint? If so in which version and is there an ETA? Find attached the list of such rules.
SonarLint_Disabled_Rules.txt (4.3 KB)

Hey there.

Thanks for the question!

Most of these rules either don’t make sense in SonarLint (they rely on calculations only done once analysis hits the server, like code coverage or duplication), or those rules have been removed from the Sonar ecosystem… but are still available in your old (EOL) version of SonarLint.

Even in connected mode, SonarLint will use the latest version of the analyzer that has shipped with SonarQube. It won’t download the analyzer from the SonarQube server (it used to work this way).

There should be much less drift between SonarLint and a supported version of SonarQube (like v9.9 LTA, or the latest v10.5 release). Time to upgrade!