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 - 6.0.0.34844
Plugins: SonarJava 5.13.1.18282 (java)

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

Hello,

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.