From: Martin Quinson Date: Tue, 23 May 2017 22:26:55 +0000 (+0200) Subject: sonar: dont' complain when we follow the advices of codacy X-Git-Tag: v3.16~234 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/a44c3d4bbe930cf428375011eb06a6080dda4bcd sonar: dont' complain when we follow the advices of codacy --- diff --git a/sonar-project.properties b/sonar-project.properties index 4e4721f0d8..0b96f585c8 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -13,7 +13,7 @@ sonar.sources=src,examples,include,teshsuite # Disable some rules on some files -sonar.issue.ignore.multicriteria=j1,jni1,jni2,c1,c2a,c2b,c3,c4a,c4b,f1 +sonar.issue.ignore.multicriteria=j1,jni1,jni2,c1,c2a,c2b,c3,c4a,c4b,c5,f1 # The Object.finalize() method should not be overriden # But we need to clean the native memory with JNI @@ -55,6 +55,11 @@ sonar.issue.ignore.multicriteria.c4a.resourceKey=examples/**/*.cpp sonar.issue.ignore.multicriteria.c4b.ruleKey=cpp:GlobalNamespaceMembers sonar.issue.ignore.multicriteria.c4b.resourceKey=examples/**/*.hpp +# Replace alternative operator "not" with "!" +# I like it better so please leave me alone +sonar.issue.ignore.multicriteria.c5.ruleKey=cpp:S3659 +sonar.issue.ignore.multicriteria.c5.resourceKey=**/*.cpp + # "reinterpret_cast" should not be used # But we need this to interface C and Fortran