Remove directory from sonar analyzer

14 Views Asked by At

How can I exclude a directory from SonarAnalyzer analysis, considering that I am only using the SonarAnalyzer.CSharp package, without SonarQube or SonarCloud?

I tried this, but the more specific rules overwrote it:

# Ignore paths
[**/Migrations/*.cs]
dotnet_diagnostic.severity = none
0

There are 0 best solutions below