-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathsonar-project.properties
47 lines (39 loc) · 1.58 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
# must be unique in a given SonarQube instance
sonar.projectKey=scale-out-computing-on-aws
# --- optional properties ---
# Suppress the warning that Sonarqube can't autodetect the source code management system for this project
sonar.scm.disabled=true
# source to analyze
sonar.sources=\
source, \
deployment
# Focusing sonarqube analysis on non test code first and reducing noise from analysis of test code. Projects
# can customize the exclusions to include analyzing of test code if desired
sonar.exclusions=\
**/test/**, \
**/tests/**, \
**/test*, \
**/node_modules/**, \
deployment/*-assets/** \
deployment/open-source
# Code coverage Specific Properties
sonar.coverage.exclusions=\
**/jest.config.js
## Python Specific Properties*
# coverage
# https://docs.sonarqube.org/pages/viewpage.action?pageId=4784149
# 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").
#
# Example: Uncomment next section for python code
#sonar.python.coverage.reportPaths=source/tests/coverage-reports/*.coverage.xml
# Sensor SonarJS Coverage [javascript] was not allowing globbing
# for sonar.javascript.lcov.reportPaths such as this
# source/test/coverage-reports/jest/*/lcov.info
# so we have to provide an explicit list of reportPaths
#
# Example: Uncomment next section for javascript/typescript code
#sonar.javascript.lcov.reportPaths= \
# source/test/coverage-reports/jest/example-function-js/lcov.info
# Encoding of the source files
sonar.sourceEncoding=UTF-8