SonarLint connected mode and sonar-project.properties file

Usecase:

  • the project is scanning the repository using sonar-scanner-cli from the CI system
  • the developers do not have permissions/do not want to create custom quality profiles be created in SQE so they rely on the default quality profile
  • the project is disabling some false-positive rules via the sonar-project.properties file that is stored in the root of the project

Is it currently possible to somehow use the sonar-project.properties for SonarLint?
Also added a comment in SonarSource/sonarlint-visualstudio/issues/1336

No. There is a new feature suggestion for this that you might want to vote for.

FYI I’m going to delete the suggestion comment from SLVS#1336 - we’ll track the feature suggestion in the link I included above.

1 Like