SonarTsPlugin icon indicating copy to clipboard operation
SonarTsPlugin copied to clipboard

Always 0 Bugs and 0 errors

Open stremovskyy opened this issue 7 years ago • 4 comments

SonarQube 6.3 on ubuntu 16 I've scanned my project and server always show me this 2017-06-16 11 17 10 I'm not sure that my code is perfect ))

stremovskyy avatar Jun 16 '17 08:06 stremovskyy

Do you have tslint.json in your repo? Do you have tslint in node deps? Did you run npm install before sonar-scanner? Could you provide logs from sonar-scanner? :)

Hello from makers of russian localization pack for SQ ;)

nixel2007 avatar Jun 16 '17 09:06 nixel2007

  • Yes I have tslint.json in scanned dir and sonar.ts.tslint.configPath=/Users/user/dev/tadmin/tslint.json
  • Yes tslint installed on server globally and client globally
  • Yes
  • In attach scner_log.txt

Hello from localization users; Thanks for your work!

stremovskyy avatar Jun 16 '17 09:06 stremovskyy

@Karmadon, I had the same problem and this one solved it: https://github.com/Pablissimo/SonarTsPlugin/issues/142

ZoeThivet avatar Jun 17 '17 09:06 ZoeThivet

Sorry, been away for a while - your log suggests that tslint's returning relative paths that the plugin can't then translate into files in your analysis set (line 261 onwards - tslint's working and returning issues, but the plugin can't do anything with them).

That's weird; what version of tslint are you running?

Pablissimo avatar Jul 08 '17 09:07 Pablissimo