Hi there,
I’m using the dotnet-sonarscanner
in order to scan my .NET core project. Although I have multiple parameters in my settings file (SonarQube.Analysis.xml
) to ignore some rules that I don’t want to follow from this project’s quality profile, they’re not working at all…
Here’s an example of the settings file that I’m trying to use:
<?xml version="1.0" encoding="utf-8" ?>
<SonarQubeAnalysisProperties xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.sonarsource.com/msbuild/integration/2015/1">
<Property Name="sonar.host.url">https://hello-world.com</Property>
<Property Name="sonar.issue.ignore.multicriteria">e1</Property>
<Property Name="sonar.issue.ignore.multicriteria.e1.ruleKey">squid:S3717</Property>
<Property Name="sonar.issue.ignore.multicriteria.e1.resourceKey">**/*</Property>
</SonarQubeAnalysisProperties>
Thank you, in advance.
P.S: I would rather ignore those issues without using the UI since I don’t have admin privileges.