Maven plugins to analyze javascript code quality

后端 未结 10 2067
清歌不尽
清歌不尽 2020-12-24 08:00

Javascript code can be tough to maintain.
I am looking for tools that will help me ensure a reasonable quality level.
So far I have found JsUNit, a very nice unit te

10条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-24 08:20

    jslint4java has been mentioned a few times, I can't recall which version they added it, but there's actually a built in Maven task.

    Traditionally with jslint4java and Maven, folks have used the antrun plugin to run the jslint4java ant task, however you can now configure it all in Maven and avoid that extra step.

    http://docs.jslint4java.googlecode.com/git/2.0.2/maven.html

提交回复
热议问题