You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 8, 2019. It is now read-only.
I disabled all the 123 rules in sonar qube. Added only one rule in tslint.json. When I ran the sonar, no issues are shown even though code has the issues(it's using magic numbers which violates the tslint rule below).
I disabled all the 123 rules in sonar qube. Added only one rule in tslint.json. When I ran the sonar, no issues are shown even though code has the issues(it's using magic numbers which violates the tslint rule below).
Why plugin not picking rules from tslint.json??
tslint.json
{
"rules": {
"no-magic-numbers": true
}
}
sonar tsplugin properties
property "sonar.projectName", "ABC"
property "sonar.sourceEncoding", "UTF-8"
property "sonar.sources", "src"
property "sonar.language", "ts"
property "sonar.exclusions", ["node_modules/**"]
property "sonar.ts.coverage.lcovReportPath", "coverage/lcov.info"
property "sonar.ts.tslintconfigPath", "tslint.json"
property "sonar.ts.tslintpath", "node_modules/tslint/bin/tslint"
property "sonar.ts.tslintrulesDir", "node_modules/codelyzer"