How to instruct SonarCloud to import rules from the tslint.json
configuring path in sonar-project.properties
didn’t help link
# Organization and project keys are displayed in the right sidebar of the project homepage
sonar.organization=linter-comparison9253
sonar.projectKey=angular-proj
sonar.host.url=https://sonarcloud.io/dashboard?id=linter-comparison9253_angular-proj
# --- optional properties ---
sonar.ts.tslintconfigpath=tslint.json
sonar.typescript.tslint.reportPaths=tslint.json
I have setup SonarCloud wiht my test Angular project before deciding on a purchase.
linter-comparison9253/angular-proj (github.com)
Notice there are issues registered by TSLint that are missing from the SonarCloud PR report
Template for a good new topic, formatted with Markdown:
- ALM used GitHub Team
- CI system used (Bitbucket Cloud, Azure DevOps, Travis CI, Circle CI
- Scanner command used when applicable (private details masked)
- Languages of the repository: TypeScript
- Only if the SonarCloud project is public, the URL
- And if you need help with pull request decoration, then the URL to the PR too
- Error observed (wrap logs/code around with triple quotes ``` for proper formatting)
- Steps to reproduce
- Potential workaround