Importing tslint issues to sonarqube

sonarts

(Jeremie Gabor) #1

Hi everyone,
Currently using sonarqube version 7.4 and have sonar-typescript plugin version 1.8. I am trying to import issues from tslint using the instructions at the following link but I keep running into errors: https://docs.sonarqube.org/display/PLUG/Importing+TSLint+issues.

Specifically, whenever I run: “tslint -t json -o report.json --project .”, I get “Invalid option for project: .”

I have tried pointing the project field to my tsconfig but this also lead to an error: “No valid rules have been specified for typescript files”.

Any clue as to what the project field should be pointing too?
Thanks
JG