From b8c6a818aa338285a25242e9b52f6a0627585d04 Mon Sep 17 00:00:00 2001 From: Brad House Date: Sun, 15 Oct 2023 17:51:38 -0400 Subject: [PATCH] SonarCloud: Ignore codesmells c89 doesn't support C89 doesn't support iterator declaration in for loop, kill warning. Fix By: Brad House (@bradh352) --- sonar-project.properties | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sonar-project.properties b/sonar-project.properties index 30e30567..d8aaf2cf 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -14,3 +14,10 @@ sonar.exclusions=test/ # Encoding of the source code. Default is default system encoding sonar.sourceEncoding=UTF-8 + + +sonar.issue.ignore.multicriteria=m1 +# c:S5955 Loop variables should be declared in the minimal possible scope +# Not possible in C89 +sonar.issue.ignore.multicriteria.m1.ruleKey=c:S5955 +sonar.issue.ignore.multicriteria.m1.resourceKey=**/*