A command line interface for jshint, with inspiration from nodelint (github.com/tav/nodelint).
npm install jshint
jshint path path2 [options]
see example/
// custom options
--config path/to/config.json
// custom reporter
--reporter path/to/reporter.js
// use a jslint compatible xml reporter
--jslint-reporter
The cli uses the default options that come with jshint, however if it locates a .jshintrc file in your home (~/) directory it will opt for that.
If there is a .jshintrc file in the current working directory, it will be merged into the default options.
git submodule init
git submodule update
npm install jasmine-node
jake test
// run tests
jake test
// run jshint
jake lint