hint.js is a command line tool wrapping JSHint.
To use hint.js you need to have node.js installed.
hint.js file1 file2 file3 ...
or
node hint.js file1 file2 file3 ...
You can set your own options and globals by setting the keys on the 'options' and 'globals' objects in hint.js.
Based heavily upon Guy Halford-Thompson's blog entry.