Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

displaying jsHint and cssLint results in sonar

jsHint and cssLint can output their results in to standard xml (sjlint.xml and csslint.xml format) file.

Is there a way to display those results with sonar?

What I'm trying to do is to run a jenkins job that will run validations on java script and show the results in Sonar.

Thank you.

like image 812
Vitali Bichov Avatar asked Dec 31 '12 13:12

Vitali Bichov


1 Answers

I think that you need to develop a new Sonar Plugin. Take a look at the following links that might help you.

  • http://docs.codehaus.org/display/SONAR/Developing+Plugins
  • http://docs.codehaus.org/display/SONAR/Plugin+hosting

Digging around, I found this closed Sonar issue suggesting that Sonar's Javascript plugin works better, compared to jsLint:

  • SONARPLUGINS-1829
like image 165
Mark O'Connor Avatar answered Nov 05 '22 21:11

Mark O'Connor