jshint/jshint — pull request #1314 by spenceralger (2013-10-18 23:47:07+00:00)
Title: Added an options to the .jshintrc files allowing them to extend others

Adds a simple option to the .jshintrc files, which allows them to extend another file. This can be done once per file, but the chain is followed recursively. Merging of the config files is "shallow", in the interest of simplicity.

This is useful for the same reason it is useful when writing classes: it really helps keep things DRY when you need an entire directory or subset of a project to follow only slightly different rules than the rest of the project.

The example I think most people would relate to, is the ability to define different globals in your test directory from the rest of your project. In my case, I have a directory where every file should follow the project's rules, except the limit on line length:

```
{
"extends": "../.jshintrc",
"maxlen": 0"
}
```