Integrate jshint into emacs via a node.js server, heavily inspited by Kevin Turners lintnode much thanks.
If you installed via npm you need to find the path that jshint was installed to:
$ npm explore jshint-mode Exploring /usr/local/lib/node/.npm/jshint-mode/active/package
Add this to your .emacs config file (if you didnt install via npm, replace the path):
To run from the command line:
$ node jshint-mode.js $ curl --form source="<path/to/my.js" --form=filename="my.js" http://127.0.0.1:3003/jshint