-
Notifications
You must be signed in to change notification settings - Fork 0
/
sonar-project.properties
57 lines (51 loc) · 1.7 KB
/
sonar-project.properties
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
46
47
48
49
50
51
52
53
54
55
56
57
# Unique key to identify the project
sonar.projectKey=serverless-transit-network-orchestrator
# For source control management
sonar.scm.disabled=true
# Encoding of the source files
sonar.sourceEncoding=UTF-8
# Path is relative to the sonar-project.properties file. Defaults to .
sonar.sources=source
# Within the directories defined by sonar.tests, subset of files that will be considered as tests
sonar.test.inclusions=\
**/test*.py, \
**/*.test.ts, \
**/*.test.tsx, \
**/*.test.js, \
**/*.test.jsx
# Exclude following files from Sonarqube code analysis to reduce noise
sonar.exclusions=\
**/dist/**, \
**/coverage/**, \
**/build/**, \
**/test/**, \
**/tests/**, \
**/test*, \
**/node_modules/**, \
**/*.pyc, \
**/coverage.xml \
source/coverage/**, \
source/lambda/coverage/**, \
source/ui/coverage/**, \
source/cognito-trigger/jest.config.js, \
source/ui/src/jest.config.js, \
source/cognito-trigger/setJestEnvironmentVariables.ts, \
source/ui/src/setupTests.ts
# Exclude following files from Sonarqube coverage reporting
sonar.coverage.exclusions=\
**/__tests__/**, \
**/__init__.py, \
**/main.py, \
**/jest.config.js, \
**/build/**, \
source/coverage/**, \
source/lambda/coverage/**, \
deployment/**, \
source/ui/coverage/**, \
source/ui/src/__tests__/**
# Comma-separated list of ant pattern describing paths to coverage reports, relative to projects
# root. Leave unset to use the default ("coverage-reports/*coverage-*.xml").
sonar.python.coverage.reportPaths=\
source/lambda/coverage.xml
sonar.javascript.lcov.reportPaths=\
source/cognito-trigger/coverage/lcov.info, source/ui/coverage/lcov.info