commit | 58bcb36de2286ea2a2a79cb14631e0752c955cbf | [log] [tgz] |
---|---|---|
author | Reid Burke <me@reidburke.com> | Fri Oct 11 20:50:39 2013 |
committer | Reid Burke <me@reidburke.com> | Fri Oct 11 20:50:39 2013 |
tree | ec0941ed2bb2b798fc1158cb7ded351151ced695 | |
parent | 022ae1227ff729a70e85ec1ed46ff92f375feb6a [diff] |
Version 0.1.11. Fix back-compat with 0.1.9. Changes that broke back-compat with 0.1.9 have been reverted. - JSLint 2012-04-15 is back - Old-style non-emacs-friendly terse mode output is back
Easily use JSLint from the command line.
jslint app.js
npm install jslint -g
make lint
Multiple files
jslint lib/worker.js lib/server.js
All JSLint options supported
jslint --white --vars --regexp app.js
Defaults to true, but you can specify false
jslint --bitwise false app.js
Pass arrays
jslint --predef $ --predef Backbone app.js
JSLint your entire project
find . -name "*.js" -print0 | xargs -0 jslint
See LICENSE file.