Simple command line interface for JSHINT
If you need more than this, you should take a look at @brentlintner implemenation: node-jshint. This is a very simple solution. It depends on jshint (do'h!) and, wait for it, node.js.
Instalation
You are going to need jshint, then just drop cli-jshint into that, or run this command:
git clone --recursive https://github.com/xonecas/cli-node-jshint.git
Usage
Same as would expect, please head on to jshint's webby for the full docs. But this will get you started:
cd cli-none-jshint
./cli-jshint path/to/js/file option:value option:value
Example
With the options set in file:
./cli-jshint ./cli-jshint
With options
./cli-jshint ./cli-jshint curly:true debug:true node:true
Recommended
Add this to your path so your vim/emacs plugin can use it.
License?
Please contribute, mangle, cuddle, ... at will.