derekr/jshint.chocmixin — pull request #3 by natesilva (2012-09-10 21:10:27+00:00)
Title: Use .jshintrc if available

Use the user’s defined `.jshintrc` options when running JSHint.

The logic comes from the [node-jshint CLI utility](https://github.com/jshint/node-jshint/blob/master/lib/cli.js):

1. First, locate any project-specific `.jshintrc`, searching up the dir tree until we find it or get to the root directory.
2. If not found, try `$HOME/.jshintrc`.
3. If that isn’t found, use the default options.