jsLint for Grails
Paul Woods
This grails 2.0 plugin runs jsLint on the javascript of your application.
How to Use
- just install the plugin to your application
grails install-plugin jslint
- Then run the plugin
grails jslint
- And review the report
\target\jslint.html
What is does
-
It loads the javascript in your application a. \web-inf\js folder b. \grails-app\views**.gsp inside script tags. c. \grails-app\views**.gsp inside g:javascript tags. d. \grails-app\views***.gsp inside r:script tags.
-
its runs jsLint on all of the scripts
-
it builds a HTML report of the results