gruntjs/grunt-contrib-jshint — pull request #153 by sterpe (2014-03-14 22:01:54+00:00)
Title: Allow for per-task ignores settings.

Feels like we should be able to do something like this in a Grunfile.js:
````javascript
jshint: {
options: _.extend(directives.jshint, {
reporter: require('jshint-stylish'),
//ignores: [
// '**/node_modules/**'
//]
}),
all: {
src: [
'Gruntfile.js',
'<%=yeoman.app %>/**/*.js'//,
],
ignores: [
'**/node_modules/**'
]
},
foo: {
src: [
'Gruntfile.js',
'<%=yeoman.app %>/**/*.js'//,
]
}

},
````

This patch allows for per task ignores to be passed into grunt-contrib-jshint task -- which I kind of feel is a bit cleaner to read and gives a good utility in allowing per task overwriting of the project .jshintignore file.