-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsonar-project.properties
25 lines (18 loc) · 1.12 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
sonar.projectKey=DEFRA_biodiversity-net-gain-service
sonar.organization=defra
# This is the name and version displayed in the SonarCloud UI.
sonar.projectName=biodiversity-net-gain-service
sonar.projectVersion=1.0
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
sonar.sources=.
# Encoding of the source code. Default is default system encoding
sonar.sourceEncoding=UTF-8
# Coverage stats location
sonar.javascript.lcov.reportPaths=coverage/lcov.info
sonar.inclusions=**/src/**/*, **/azure-functions/**/*.js, **/azure-functions/**/*.mjs
sonar.exclusions=**/__tests__/**, **/__mocks__/**, **/*.spec.*, **/*.test.*, packages/azure-storage-test-utils/src/main.js, packages/azurite-bootstrap-service/src/service.js, docker/**/*, coverage/**/*, **/*.sql, packages/database-version-control/src/prepare-data-migrations.js
sonar.coverage.exclusions=**/__tests__/**, **/__mocks__/**, **/*.spec.*, **/*.test.*, **/test-env.js, **/jest.config.cjs, **/jest.config.js
# Ensure sonar recognises BigInt as
sonar.javascript.globals=BigInt
# Add code dupliciation exceptions
sonar.cpd.exclusions=packages/eps/**/*