Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jul 8, 2019. It is now read-only.
This repository was archived by the owner on Jul 8, 2019. It is now read-only.

Rules from tslint.json are not applied #185

Copy link
Copy link

Description

@damodhar22
Issue body actions

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"

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.