Skip to content

Commit

Permalink
test: configure sonar configuration (properties) (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentC35 authored Oct 17, 2024
1 parent 0c63b2c commit 7f9c51d
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,13 +1,26 @@
sonar.projectKey=InseeFr_Drama-Queen
sonar.organization=inseefr
sonar.host.url=https://sonarcloud.io

# This is the name and version displayed in the SonarCloud UI.
#sonar.projectName=Drama-Queen
#sonar.projectVersion=1.0
sonar.projectName=Drama-Queen
sonar.projectVersion=1.0

# Path to sources
sonar.sources=drama-queen/src
sonar.exclusions=**/*.spec.js, **/*.spec.jsx, **/*.spec.ts, **/*.spec.tsx

# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
#sonar.sources=.
# Path to tests
sonar.test.inclusions=drama-queen/src/**/*.spec.js, drama-queen/src/**/*.spec.jsx, drama-queen/src/**/*.spec.ts, drama-queen/src/**/*.spec.tsx

# Encoding of the source code. Default is default system encoding
#sonar.sourceEncoding=UTF-8
# Coverage
sonar.javascript.lcov.reportPaths=coverage/lcov.info
sonar.coverage.exclusions=drama-queen/src/**/*.spec.js, drama-queen/src/**/*.spec.jsx, drama-queen/src/**/*.spec.ts, drama-queen/src/**/*.spec.tsx

# Source encoding
sonar.sourceEncoding=UTF-8

sonar.issue.ignore.multicriteria=ignorePropsForJsFile

#ignoreMethodNameConventionForTest
sonar.issue.ignore.multicriteria.ignorePropsForJsFile.ruleKey=javascript:S6774
sonar.issue.ignore.multicriteria.ignorePropsForJsFile.resourceKey=**

0 comments on commit 7f9c51d

Please sign in to comment.