forked from internxt/drive-desktop
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsonar-project.properties
More file actions
45 lines (39 loc) · 1.12 KB
/
sonar-project.properties
File metadata and controls
45 lines (39 loc) · 1.12 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
sonar.projectKey=internxt_drive-desktop-linux
sonar.organization=internxt
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
sonar.sources=src
# Exclude files from analysis
sonar.exclusions=**/node_modules/**,\
**/release/**,\
**/dist/**,\
**/*.test.ts,\
**/*.test.tsx,\
**/*.spec.ts,\
**/__mocks__/**,\
**/__tests__/**,\
**/__test-helpers__/**,\
.erb/**,\
**/coverage/**,\
**/*.config.js,\
**/*.config.ts,\
**/webpack.*.ts,\
**/vitest.*.ts,\
**/jest.*.js,\
**/*.setup.ts,\
**/*.setup.js,\
src/infra/schemas.d.ts
# This parameter must be set to the path of the report file produced by your coverage tool. The path can be either absolute or relative to the project root.
sonar.javascript.lcov.reportPaths=./coverage/lcov.info
# Exclude from coverage calculation
sonar.coverage.exclusions=**/*.test.ts,\
**/*.test.tsx,\
**/*.spec.ts,\
**/__mocks__/**,\
**/__tests__/**,\
**/__test-helpers__/**,\
src/infra/schemas.d.ts
# Exclude from code duplication detection
sonar.cpd.exclusions=**/*.test.ts,\
**/*.test.tsx,\
**/*.spec.ts,\
src/infra/schemas.d.ts