mirror of
https://github.com/strapi/strapi.git
synced 2026-05-03 16:22:30 +00:00
25 lines
1.1 KiB
Properties
25 lines
1.1 KiB
Properties
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
|