From ff05b4146a3fc52eb71a98ef51cda983eede76d3 Mon Sep 17 00:00:00 2001 From: Ru Chern Chong Date: Sun, 22 Sep 2024 20:31:56 +0800 Subject: [PATCH] Update sonarcloud properties --- .sonarcloud.properties | 17 +++-------------- sonar-project.properties | 5 ----- 2 files changed, 3 insertions(+), 19 deletions(-) delete mode 100644 sonar-project.properties diff --git a/.sonarcloud.properties b/.sonarcloud.properties index c1b30a3..10dee5c 100644 --- a/.sonarcloud.properties +++ b/.sonarcloud.properties @@ -1,16 +1,5 @@ sonar.projectKey=sgcarstrends_web sonar.organization=sgcarstrends - -# Path to sources -sonar.sources=. - -# Exclusions -sonar.exclusions=components/ui/** - -# Path to tests -#sonar.tests= -#sonar.test.exclusions= -#sonar.test.inclusions= - -# Source encoding -sonar.sourceEncoding=UTF-8 +sonar.javascript.lcov.reportPaths=./coverage/lcov.info +sonar.coverage.exclusions=**/*.test.js,**/*.test.ts,**/*.spec.js,**/*.spec.ts +sonar.exclusions=**/components/ui/**/*.tsx,**/*.test.js,**/*.test.ts,**/*.spec.js,**/*.spec.ts diff --git a/sonar-project.properties b/sonar-project.properties deleted file mode 100644 index 10dee5c..0000000 --- a/sonar-project.properties +++ /dev/null @@ -1,5 +0,0 @@ -sonar.projectKey=sgcarstrends_web -sonar.organization=sgcarstrends -sonar.javascript.lcov.reportPaths=./coverage/lcov.info -sonar.coverage.exclusions=**/*.test.js,**/*.test.ts,**/*.spec.js,**/*.spec.ts -sonar.exclusions=**/components/ui/**/*.tsx,**/*.test.js,**/*.test.ts,**/*.spec.js,**/*.spec.ts