Skip to content

Instantly share code, notes, and snippets.

@iGarym
Created January 9, 2019 09:07
Show Gist options
  • Save iGarym/91c06d9654071a9a7df6b8912ff3e8d9 to your computer and use it in GitHub Desktop.
Save iGarym/91c06d9654071a9a7df6b8912ff3e8d9 to your computer and use it in GitHub Desktop.
sonar config for vue
sonar.projectKey=<PROJECT_KEY>
sonar.projectName=<PROJECT_NAME>
sonar.projectVersion=<PROJECT_VERSION>
sonar.sourceEncoding=UTF-8
sonar.host.url=<SONAR_URL_HOST>
sonar.login=<TOKEN>
sonar.language=javascript
sonar.sources=src
# Same with jest config
sonar.tests=tests/**/*.spec.js,src/**/__tests__/*.js
# Ignore iconfont.js ect.
sonar.exclusions=src/assets/**/*.js
# jest coverage
sonar.javascript.lcov.reportPaths=coverage/lcov.info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment