yui/yui-lint — pull request #5 by matthew-andrews (2013-07-19 13:54:55+00:00)
Title: Why the dependency on jshint at version ~1.1.0?

JSHint is now at version 2.1.4 so any module that depends on it without specifying a ~1.1.0 version, this library now break - NPM can't resolve the dependency.

Example: https://github.com/gotwarlost/istanbul-middleware

Steps to reproduce:
```
git clone https://github.com/gotwarlost/istanbul-middleware
cd istanbul-middleware
npm install
```

Observe the following error:
```
npm WARN unmet dependency /Users/matthew/Documents/sandboxes/istanbul-middleware/node_modules/yui-lint requires jshint@'~1.1.0' but will load
npm WARN unmet dependency /Users/matthew/Documents/sandboxes/istanbul-middleware/node_modules/jshint,
npm WARN unmet dependency which is version 2.1.4
```

(I also updated the README.md to this version of jshint as I suspect anyone copying & pasting the sample into their package.json would also run into this problem).