W
W
web_dev2012-10-22 18:39:05
JavaScript
web_dev, 2012-10-22 18:39:05

Sonar + JsHint/JsLint or something else?

Hello.
Google did not give me any information on this issue, so ... I decided to ask here ...

Is it possible to somehow make Sonar friends with JsHint / JsLint or some other “javaScript code analyzer”.

Here's what has been done:
— Installed Sonar;
— mvn sonar:sonar — the project has been successfully added;
- added plugin docs.codehaus.org/display/SONAR/JavaScript+Plugin - but I don't know what to do with it;

- one solution was found, but for some reason it does not work ... code.google.com/p/wro4j/wiki/MavenPluginJsHint

- made a wro.xml file, added js files;
- added a plugin to pom.xml, which is on the page by the link above;
- launched mvn wro4j: run - everything is ok (BUILD SUCCESS);
- launched mvn sonar:sonar - the project was updated, but there is no information on javaScript;


Tell me, what is wrong, what should my project be friends with, so that the sonar displays the js data?

Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2016-03-09
@dsv

here is https://github.com/groupe-sii/sonar-web-frontend-plugin

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question