tenthbitinc / node-jslint

The JavaScript Code Quality Tool — for Node.js.

Home Page:http://jslint.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-jslint

Easily use JSLint from the command line.

jslint app.js

Install

npm install jslint -g

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.

About

The JavaScript Code Quality Tool — for Node.js.

http://jslint.com/

License:Other