Skip to content

Commit

Permalink
Disable specific SonarQube rules to avoid false positives in library …
Browse files Browse the repository at this point in the history
…code.
  • Loading branch information
przemek83 committed Jan 13, 2025
1 parent 6ae891c commit 5468209
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,11 @@ sonar.tests=tests
sonar.sourceEncoding=UTF-8

sonar.cfamily.threads=4

# Switch off detection of dead functions/method in library. Rule S1144 still applied.
sonar.issue.ignore.multicriteria.e1.ruleKey=cpp:S5536
sonar.issue.ignore.multicriteria.e1.resourceKey=include/**/*

# Switch off checking of public, protected, private ordering as Q_OBJECT raises false positives.
sonar.issue.ignore.multicriteria.e2.ruleKey=cpp:S1773
sonar.issue.ignore.multicriteria.e2.resourceKey=include/**/*

0 comments on commit 5468209

Please sign in to comment.