If you're working on an NPM package you don't need to have a .jshintrc
file anymore. Just put your JSHint options into your package.json file
as a property named
jshintConfig and you're all set! The format
is exactly the same as .jshintrc.
Example: package.json for JSHint itself.