-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsonar-project.properties
More file actions
30 lines (24 loc) · 1.11 KB
/
sonar-project.properties
File metadata and controls
30 lines (24 loc) · 1.11 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
# Configuration (https://docs.sonarsource.com/sonarqube-server/latest/analyzing-source-code/analysis-parameters/)
sonar.organization=bcgov-sonarcloud
sonar.projectKey=bcgov_nr-peach
sonar.projectName=nr-peach
sonar.host.url=https://sonarcloud.io
sonar.terraform.provider.azure.version=4.54.0
# sonar.verbose=true # Uncomment to enable very verbose sonar-scanner output
# Path to sources is relative to the sonar-project.properties file. Defaults to .
sonar.sources=.
sonar.language=ts
sonar.sourceEncoding=UTF-8
# sonar.modules=src
# Ignore database migrations and other folders
sonar.exclusions=*.ts,**/cypress/**,**/coverage/**,**/migrations/**,**/node_modules/**,**/tests/**
#sonar.inclusions=
# Path to tests
sonar.tests=tests
# Identify the test files (https://docs.sonarsource.com/sonarqube-server/latest/project-administration/analysis-scope/#setting-the-initial-scope)
#sonar.test.exclusions=
sonar.test.inclusions=**/*test.ts
# Ignore copy-paste duplication scanning for tests
sonar.cpd.exclusions=**/*test.ts,**/cypress/**,**/test/**
# Code coverage report location
sonar.javascript.lcov.reportPaths=./coverage/lcov.info