-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsonar-project.properties
More file actions
32 lines (28 loc) · 986 Bytes
/
Copy pathsonar-project.properties
File metadata and controls
32 lines (28 loc) · 986 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
sonar.projectKey=fuf-stack_pixels
sonar.organization=fuf-stack
# set test files
sonar.test.inclusions=**/*.test.{ts,tsx}
# set coverage report path (created in CI)
# see: https://docs.sonarsource.com/sonarqube/9.9/analyzing-source-code/test-coverage/javascript-typescript-test-coverage/
sonar.javascript.lcov.reportPaths=coverage/lcov.info
# exclude some files from coverage
# see: https://docs.sonarsource.com/sonarqube/latest/project-administration/analysis-scope/#code-coverage-exclusions
sonar.coverage.exclusions=\
*.js,\
*.ts,\
**/*.test.*,\
**/*.stories.*,\
**/__mocks__/**/*,\
scripts/**/*,\
packages/*/*.js,\
packages/*/*.ts,\
packages/*/bin/**/*,\
packages/*/scripts/**/*,\
packages/*/test/**/*,\
packages/config/**/*
# exclude files from duplications
# see: https://docs.sonarsource.com/sonarqube/latest/project-administration/analysis-scope/#duplication-exclusions
sonar.cpd.exclusions=\
**/*.test.*,\
**/*.stories.*,\
packages/config/**/*