Skip to content

Commit 431d891

Browse files
committed
ci: autoscan: adding the sonarcloud config file
autoscan: adding the .sonarcloud.properties to control file exclusions Signed-off-by: Leif Harald Urlaub <leif.harald.urlaub@nordicsemi.no>
1 parent 0b4a918 commit 431d891

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.sonarcloud.properties

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# This file is used by the SonarCloud GitHub App to configure the SonarCloud Automatic Analysis.
2+
# https://sonarcloud.io/project/overview?id=nrfconnect_sdk-nrf
3+
4+
# SonarCloud project details
5+
sonar.projectKey=nrfconnect_sdk-zephyr
6+
sonar.organization=nrfconnect
7+
sonar.projectName=sdk-zephyr
8+
sonar.projectVersion=1.0
9+
10+
# Path to sources
11+
sonar.sources = .
12+
sonar.exclusions=
13+
sonar.inclusions=
14+
15+
# Path to tests
16+
sonar.tests = tests/
17+
# sonar.test.exclusions=
18+
# sonar.test.inclusions=
19+
20+
# Exclusions for copy-paste detection
21+
sonar.cpd.exclusions=
22+
23+
# Python version (for python projects only)
24+
sonar.python.version=3.12
25+
26+
# Source encoding
27+
sonar.sourceEncoding=UTF-8
28+
29+
# Pull Request Options
30+
sonar.pullrequest.github.summary_comment=false
31+
32+
# Language.C
33+
sonar.cfamily.customTargetArch=arm
34+
sonar.cfamily.customTargetVendor=unknown
35+
sonar.cfamily.customTargetSystem=linux
36+
sonar.cfamily.customTargetEnv=gnueabi

0 commit comments

Comments
 (0)