Maven plugins to analyze javascript code quality

Alexandre Victoor picture Alexandre Victoor · Sep 18, 2008 · Viewed 12.5k times · Source

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 test framework for javascript. Tests can be run automatically from ant on any browser available.
I have not found yet some javascript equivalent of PMD, checkstyle, Findbug...

Do you know any static code analysis tool for javascript ?

Answer

Justin Searls picture Justin Searls · Jun 28, 2010

This is an old thread, but if you're interested in running Jasmine for BDD testing in your maven project, I wrote this jasmine-maven-plugin for exactly this purpose (that is, improving JS quality by encouraging TDD of it).

http://github.com/searls/jasmine-maven-plugin