-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsonar-project.properties
More file actions
26 lines (18 loc) · 958 Bytes
/
sonar-project.properties
File metadata and controls
26 lines (18 loc) · 958 Bytes
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
# Project Key (required)
sonar.projectKey=opendevstack_ods-component-catalog-front
# Project Name (optional)
sonar.projectName=ods-component-catalog-front
# Comma-separated paths to directories with sources (required)
sonar.sources=src
# Encoding of the source files (optional but recommended as default is ASCII)
sonar.sourceEncoding=UTF-8
# Exclude test files from coverage analysis
sonar.coverage.exclusions=**/*.spec.ts,**/*.module.ts,src/environments/**,src/app/app.config.ts,src/app/app.routes.ts,src/app/azure.config.ts,src/main.ts
# Exclude non type script files from coverage analysis
sonar.exclusions=**/*.html,**/*.scss,**/*.json,**/*.ico,**/*.svg,src/app/openapi/**,src/main.ts
# Define coverage information inside the Angular project
sonar.javascript.lcov.reportPaths=coverage/component-catalog-front/lcov.info
# Comma-separated paths to directories with tests
sonar.tests=src/app
# Include tests files
sonar.test.inclusions=**/*.spec.ts