-
Operating system: not sure(managed by corporation)
-
SonarLint plugin version: 6.16.0.69538
-
Programming language you’re coding in: c#
-
Is connected mode used: yes
- Connected to SonarQube: Enterprise Edition Version 9.9 (build 65466)
-
VisualStudio version: VS 2022 Enterprise
Background
We have >100 microservices each with an own project in sonarqube. In order to get feedback asap, we need to enable engineers to run local checks before commiting new code.
We want to control the behavior centrally with the sonarqube server to support teams faster.
Issue
We have configured successfully the connect to the server.
- setup is:
- abc.solution with the following projects
- abc
- abc.Unittests
- abc.Integrationtests
- abc.Migrations
- abc.solution with the following projects
- we now want to add new a new sonar.issue.ignore.multicriteria
→ Rule Key Pattern: csharpsquid:S1301
→ File Path Pattern: **/*Controller.cs - save the changes
- we now open visual studio extension sonarlint and click on update
- that adds or updated the SonarLint.xml in the main project folder (abc)
Expect
- sonarlint.xml contains those rules as well
- vs is not showing the excluded rules as issues
Actual
- sonarlint.xml does not contains those rules
- vs is showing the excluded rules as issues
Is that implemented for c# or do we need another version of the server?