SonarLint rules availabilty

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    SQ community edition

  • how is SonarQube deployed: zip, Docker, Helm
    I believe docker

  • what are you trying to achieve
    Want to see SQ issues in SonarLint

  • what have you tried so far to achieve this
    I setup SonarLint in Visual Studio and now its connected to the SQ server , and it shows some of the issues displayed in SQ but not all of them : e.g , its a Typescript repo and this issue shows in SQ dashboard but not in SonarLint: " Promises should not be misused"

How can make it show these issues?

Hi,

Welcome to the community!

Can you provide your Visual Studio and SonarLint versions, as well as any VS logs related to this, please?

 
Thx,
Ann

Visual Studio Code 1.72.2
SonarLint v3.13.0
I am not sure where the logs are

Hi,

The current version is 4.3.0+76012. Can you upgrade and see if this is still replicable?

Also, are you in connected mode with your SonarQube server?

If you’re not in connected mode, you’ll be getting the default rule set from December 2022, when your SonarLint version was released. That alone could explain the missing issue.

 
Ann

Current version of SonarLint (3.13) is the latest , i am on a mac and I am in connected mode
Still the issues is there

Hi,

Can you please upgrade SonarLint and re-check this?

 
Thx,
Ann

SonarLint is already on the latest version , it doesn’t show any version later than this, again I am on Mac, maybe the other versions are applicable to Windows

Hi,

It seems that your version of VSCode has some age on it too. Could you upgrade that and see if current versions of SonarLint are available?

 
Thx,
Ann