forked from c-ares/c-ares
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sonar-project.properties
33 lines (26 loc) · 1.2 KB
/
sonar-project.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright (C) The c-ares project and its contributors
# SPDX-License-Identifier: MIT
sonar.projectKey=c-ares_c-ares
sonar.organization=c-ares
# This is the name and version displayed in the SonarCloud UI.
sonar.projectName=c-ares
sonar.projectVersion=1.0
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
sonar.sources=src/lib, src/tools
sonar.tests=test/
sonar.exclusions=test/
# Encoding of the source code. Default is default system encoding
sonar.sourceEncoding=UTF-8
sonar.issue.ignore.multicriteria=m1,m2,m3
# 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=**/*
# c:S924 Reduce the number of nested "goto" statements from 2 to 1 authorized.
# This is a common practice in error handling, don't understand this recommendation.
sonar.issue.ignore.multicriteria.m2.ruleKey=c:S924
sonar.issue.ignore.multicriteria.m2.resourceKey=**/*
# php:S105 Tabulation characters should not be used
# Required for MSVC Makefiles
sonar.issue.ignore.multicriteria.m3.ruleKey=php:S105
sonar.issue.ignore.multicriteria.m3.resourceKey=**/Makefile.inc