Sonarlint not showing same results as sonarqube server

SonarQube server is showing the following error on scan but sonarlint isn’t.

Sonarlint not showing the same error
sonarlint eclipse version -
Plugins: SonarJava (java)

is this a false positive ? Please let me know if any more info is needed to further debug this.


I am not able to reproduce the problem. Could you craft a small project where you are able to reproduce the issue and share it here please ? Also, are you using SonarLint in standalone mode or did you connect your project to SonarQube or SonarCloud ?

Unfortunately it does not check the rules from my custom Sonar Profile.