Skip to content

Commit

Permalink
ignore long lambdas in tests (sonar)
Browse files Browse the repository at this point in the history
  • Loading branch information
frs69wq committed May 24, 2024
1 parent 36c13ce commit 9d4a7d4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .sonarcloud.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@ sonar.links.scm=https://github.com/simgrid/file-system-module/
# Comma-separated paths to directories with sources (required)
sonar.sources=src,examples,include,test

sonar.issue.ignore.multicriteria=c1a,c1b,c2
# Replace alternative operator "not" with "!"
# I like it better, so please leave me alone
sonar.issue.ignore.multicriteria=c1a,c1b
sonar.issue.ignore.multicriteria.c1a.ruleKey=cpp:S3659
sonar.issue.ignore.multicriteria.c1a.resourceKey=**/*.cpp
sonar.issue.ignore.multicriteria.c1b.ruleKey=cpp:S3659
sonar.issue.ignore.multicriteria.c1b.resourceKey=**/*.hpp
# Ignore long lambdas in test.
sonar.issue.ignore.multicriteria.c2.ruleKey=cpp:S1188
sonar.issue.ignore.multicriteria.c2.resourceKey=test/*.cpp

# Exclude our tests from the duplication detection.
# tests are expected to be somehow repetitive
Expand Down

0 comments on commit 9d4a7d4

Please sign in to comment.