Skip to content

Commit

Permalink
fix: adjust local Sonar configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryT-CG committed Jan 11, 2024
1 parent 19b0616 commit 8f0cb20
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/sonar.yml

This file was deleted.

13 changes: 8 additions & 5 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# sonar.verbose=true
# sonar.host.url=http://localhost:9000
# sonar.token=<local-created-token>
# docker run -p 9000:9000 sonarqube:lts
# start locally:
# docker run -p 9000:9000 sonarqube:lts
# user/pwd: admin/admin
# npm run sonar
sonar.host.url=http://localhost:9000
sonar.login=<local-created-token>
#
sonar.organization=onecx
sonar.projectKey=onecx-theme-ui
Expand All @@ -12,8 +15,8 @@ sonar.testExecutionReportPaths=reports/sonarqube_report.xml
sonar.sourceEncoding=UTF-8
sonar.sources=src/app
sonar.working.directory=dist/sonar
sonar.coverage.exclusions=node_modules/**,src/**/*.module.ts,src/environments/*,src/assets/**/*,src/app/generated/**/*,src/test/*
sonar.exclusions=node_modules/**,src/**/*.html
sonar.coverage.exclusions=src/**/*.module.ts,src/environments/*,src/assets/**/*,src/app/generated/**/*,src/test/*
sonar.exclusions=src/**/*.html,src/app/generated/**/*
sonar.cpd.exclusions=node_modules/**,src/**/*.html
sonar.tests=src/app
sonar.test.inclusions=src/app/**/*.spec.ts

0 comments on commit 8f0cb20

Please sign in to comment.