Importing external custom tslint rules in SonarQube v6.7

Is it possible to import external custom tslint issues into SonarQube server v6.7 like described here for v7.9?
Have tried with property “sonar.typescript.tslint.reportPaths” and a json formatted tslint report, but no luck.

sonar.typescript.tslint.reportPaths=./build/reports/tslint-report.json

How to I import this custom rule in SonarQube server?

Hello,

it’s not possible, the concept of external issues appeared in SonarQube 7.2. Upgrade to the new LTS 7.9 :slight_smile:

Hi Elena,

Thanks for the quick reply.

Some more questions:

  1. Is it possible to manually add rules to SonarQube 6.7 TypeScript rule set?
  2. Is it possible to export the SonarQube 6.7 Typescript rule set to a tslint.json?
  3. Any other way I can align our rules defined in tslint.json with SonarQube 6.7 rules?
  4. Is it possible to import a tslint report (like importing coverage report) in SonarQube 6.7?

Best regards,
Murat

No to every question if you want to rely on SonarSource analyzers only.
There is a community plugin for TS. You can check if it can do something of what you want, but note it’s deprecated and not supported. So I still think that you quicker migrate to LTS 7.9

Elena,

Thank you!