aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/sonar-web/build.gradle3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/build.gradle b/server/sonar-web/build.gradle
index c6c59e1cbec..ab7e19fcedd 100644
--- a/server/sonar-web/build.gradle
+++ b/server/sonar-web/build.gradle
@@ -2,9 +2,10 @@ sonarqube {
properties {
property "sonar.projectName", "${projectTitle} :: Web"
property "sonar.sources", "src/main/js"
+ property "sonar.exclusions", "src/main/js/**/__tests__/**,src/main/js/**/__mocks__/**,src/main/js/@types/**,src/main/js/helpers/mocks/**,src/main/js/helpers/testUtils.ts,src/main/js/helpers/testMocks.ts"
property "sonar.tests", "src/main/js"
property "sonar.test.inclusions", "src/main/js/**/__tests__/**"
- property "sonar.exclusions", "src/main/js/**/__tests__/**"
+ property "sonar.coverage.exclusions", "src/main/js/api/**,src/main/js/**/routes.ts,src/main/js/app/index.ts,src/main/js/app/utils/startReactApp.tsx,src/main/js/components/icons/**"
property "sonar.eslint.reportPaths", "eslint-report/eslint-report.json"
property "sonar.javascript.lcov.reportPaths", "coverage/lcov.info"
}