From 08ed19759f5ec4d2c6e6b308b758ad50b695e704 Mon Sep 17 00:00:00 2001 From: Leif Harald Urlaub Date: Tue, 24 Jun 2025 08:38:01 +0200 Subject: [PATCH] ci: autoscan: adding the sonarcloud config file autoscan: adding the .sonarcloud.properties to control file exclusions Signed-off-by: Leif Harald Urlaub --- .sonarcloud.properties | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .sonarcloud.properties diff --git a/.sonarcloud.properties b/.sonarcloud.properties new file mode 100644 index 00000000000..2ece117e14d --- /dev/null +++ b/.sonarcloud.properties @@ -0,0 +1,36 @@ +# This file is used by the SonarCloud GitHub App to configure the SonarCloud Automatic Analysis. +# https://sonarcloud.io/project/overview?id=nrfconnect_sdk-zephyr + +# SonarCloud project details +sonar.projectKey=nrfconnect_sdk-zephyr +sonar.organization=nrfconnect +sonar.projectName=sdk-zephyr +sonar.projectVersion=1.0 + +# Path to sources +sonar.sources = . +sonar.exclusions= +sonar.inclusions= + +# Path to tests +sonar.tests = tests/ +# sonar.test.exclusions= +# sonar.test.inclusions= + +# Exclusions for copy-paste detection +sonar.cpd.exclusions= + +# Python version (for python projects only) +sonar.python.version=3.12 + +# Source encoding +sonar.sourceEncoding=UTF-8 + +# Pull Request Options +sonar.pullrequest.github.summary_comment=false + +# Language.C +sonar.cfamily.customTargetArch=arm +sonar.cfamily.customTargetVendor=unknown +sonar.cfamily.customTargetSystem=linux +sonar.cfamily.customTargetEnv=gnueabi \ No newline at end of file