-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #909 from nhsuk/sonarcloud
Add sonarcloud to pull request pipeline
- Loading branch information
Showing
2 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# SonarQube properties | ||
sonar.projectKey=nhsuk-frontend | ||
sonar.organization=nhsdigital | ||
|
||
# Project language | ||
sonar.language=js | ||
|
||
# Encoding of the source code. Default is default system encoding | ||
sonar.sourceEncoding=UTF-8 | ||
|
||
# Add file exclusions | ||
sonar.exclusions=reports/** | ||
|
||
# Add coverage exclusions | ||
sonar.coverage.exclusions=**/*.config.js,**/coverage/**,**/*check-report.html | ||
|
||
# Adding the dependency-check parameter | ||
sonar.dependencyCheck.htmlReportPath=reports/dependency-check/dependency-check-report.html | ||
|
||
# Encoding of the source code. Default is default system encoding | ||
sonar.sourceEncoding=UTF-8 | ||
|
||
# Adding the coverage analysis parameter | ||
sonar.javascript.lcov.reportPaths=./coverage/lcov.info |