From c31a7f96482fb1eedabc1d4d97d4a20b3551a414 Mon Sep 17 00:00:00 2001 From: Hal Eisen Date: Fri, 17 Nov 2023 17:25:11 -0800 Subject: [PATCH 1/2] First draft of a sonarcloud properties file --- .sonarcloud.properties | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .sonarcloud.properties diff --git a/.sonarcloud.properties b/.sonarcloud.properties new file mode 100644 index 000000000..09e34ed00 --- /dev/null +++ b/.sonarcloud.properties @@ -0,0 +1,22 @@ +# Path to sources +sonar.sources = src/ +# sonar.exclusions= +# sonar.inclusions= + +# Path to tests +sonar.tests = tests/ +# sonar.test.exclusions= +# sonar.test.inclusions= + +# Source encoding +# sonar.sourceEncoding= + +# Exclusions for copy-paste detection +# sonar.cpd.exclusions= + +# Python version (for python projects only) +# sonar.python.version= + +# C++ standard version (for C++ projects only) +# If not specified, it defaults to the latest supported standard +# sonar.cfamily.reportingCppStandardOverride=c++98|c++11|c++14|c++17|c++20 From eff857447acac88821cb627d0aff36ca5774cdc3 Mon Sep 17 00:00:00 2001 From: Hal Eisen Date: Mon, 20 Nov 2023 08:16:35 -0800 Subject: [PATCH 2/2] Refine scope to pull in 'include' and 'query_module' directories, in addition to src --- .sonarcloud.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.sonarcloud.properties b/.sonarcloud.properties index 09e34ed00..2c53f52f2 100644 --- a/.sonarcloud.properties +++ b/.sonarcloud.properties @@ -1,7 +1,7 @@ # Path to sources -sonar.sources = src/ +sonar.sources = . # sonar.exclusions= -# sonar.inclusions= +sonar.inclusions=src,include,query_modules # Path to tests sonar.tests = tests/