Skip to content

Instantly share code, notes, and snippets.

@mir4ef
Last active August 7, 2017 20:11
Show Gist options
  • Save mir4ef/25511fa2cc2647c7540011fe7156fbbd to your computer and use it in GitHub Desktop.
Save mir4ef/25511fa2cc2647c7540011fe7156fbbd to your computer and use it in GitHub Desktop.
Sonar properties file for angular 2+ applications
sonar.projectKey = company:mycompay
sonar.projectName = My Project
sonar.projectVersion = 0.0.1
sonar.sourceEncoding = UTF-8
sonar.sources = src/app
sonar.exclusions = **/node_modules/**,**/*.spec.ts
sonar.tests = src/app
sonar.test.inclusions = **/*.spec.ts
sonar.ts.tslint.configPath = tslint.json
sonar.ts.coverage.lcovReportPath = coverage/lcov.info
sonar.projectKey = company:mycompay
sonar.projectName = My Project
sonar.projectVersion = 0.0.1
sonar.sourceEncoding = UTF-8
sonar.sources = src/app,server
sonar.exclusions = **/node_modules/**,**/*.spec.ts,**/*.module.ts,**/*.spec.js
sonar.tests = src/app,server
sonar.test.inclusions = **/*.spec.ts,**/*.spec.js
sonar.ts.tslint.configPath = tslint.json
sonar.ts.coverage.lcovReportPath = coverage/app/lcov.info
sonar.javascript.lcov.reportPaths = coverage/node/lcov.info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment