Pablissimo / SonarTsPlugin

SonarQube plugin for TypeScript files
MIT License
185 stars 106 forks source link

SonarQube SonarTsPlugin report not showing any Issues on Typescript files #175

Closed Nijisha closed 6 years ago

Nijisha commented 7 years ago

Hi, I installed sonarqubbe 6.2 on ubuntu 14.04, and my SonarQube Scanner version is 3.0.2.768, which I configured in jenkins. I have installed SonarTS plugin version 1.1.0. The issue I am facing is, The report generated has the issue recorded for .js files but it showing 0 issues on all .ts files. my sonar-project.properties files as follows

sonar.projectKey=Test sonar.projectVersion=2.0 sonar.projectName=Test sonar.sourceEncoding=UTF-8 sonar.sources=/jenkins1/slave02/workspace/Sonar-test/src sonar.ts.tslint.projectPath=/jenkins1/slave02/workspace/Sonar-test/tsconfig.json sonar.ts.tslintpath=/jenkins1/slave02/workspace/Sonar-test/node_modules/tslint/bin sonar.exclusions=/jenkins1/slave02/workspace/Sonar-test/node_modules/** sonar.ts.tslint.configPath=/jenkins1/slave02/workspace/Sonar-test/tslint.json

I have configured Path to tslint as /usr/local/bin/tslint in sonarQube server UI.

appreciate any help on this.

Nijisha commented 6 years ago

Hi can any one help on this? I am seeing the tslint is executing against the *.ts files but it is not generating any issues. but If I run the command 'npm lint' manually it is showing lots of issues. I am not able to fix this issue.

Nijisha commented 6 years ago

Solved the issue. Downgrade the plugin to 1.0.0