forked from strapi/strapi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsonar-project.properties
More file actions
24 lines (17 loc) · 1.12 KB
/
sonar-project.properties
File metadata and controls
24 lines (17 loc) · 1.12 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
sonar.projectKey=strapi_strapi
sonar.organization=strapi
# This is the name and version displayed in the SonarQube Cloud UI.
sonar.projectName=Strapi
sonar.projectVersion=1.0
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
sonar.sources=.
# Coverage reports - unit and front downloaded to separate dirs to avoid overwrite; glob matches all lcov files
sonar.javascript.lcov.reportPaths=unit-coverage/**/lcov.info,front-coverage/**/lcov.info
# Exclude patterns
sonar.exclusions=**/node_modules/**,**/dist/**,**/build/**,**/coverage/**,**/*.config.js,**/*.config.mjs,**/jest.*.js,**/rollup.*.js,**/babel.*.js,**/*.d.ts,**/public/**,**/static/**,**/docs/**,**/examples/**,**/test-apps/**,**/tests/**,**/__tests__/**,**/*.test.js,**/*.test.ts,**/*.spec.js,**/*.spec.ts
# Test file patterns (for test coverage calculation)
sonar.test.inclusions=**/__tests__/**/*.{js,ts,jsx,tsx},**/*.test.{js,ts,jsx,tsx},**/*.spec.{js,ts,jsx,tsx}
# Duplication exclusions
sonar.cpd.exclusions=**/__tests__/**,**/test/**,**/tests/**
# Encoding of the source code. Default is default system encoding
sonar.sourceEncoding=UTF-8