creationix/js-git — pull request #15 by seriema (2013-06-05 16:16:55+00:00)
Title: Add JSHint config file

This helps make sure all contributors follow the same coding conventions and can find potential bugs.

I've turned off anything that gives an error or warning on the existing code. You might want to take a look at those turned off options though because some of them make sense to turn back on IMHO.

# install jshint
npm install jshint -g

# run jshint, config file is found automatically when it's in the same folder
jshint *.js

This can be automated with GruntJS, WebStorm IDE or some other build tool. It can also be connected to Travis so that all Pull Requests are automatically checked.