Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (21 sloc) 0.569 kb

node-jslint

Easily use JSLint from the command line.

jslint app.js

Install

npm install jslint

Self-Lint

make lint

Usage examples

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

License

See LICENSE file.

Jump to Line
Something went wrong with that request. Please try again.