yeoman/generator-node — pull request #5 by seriema (2013-07-11 14:06:18+00:00)
Title: Clean run of 'grunt' right after scaffolding

I ran `yo node` and when it was done I checked that things worked by running `grunt`. Only to be greeted by this:

````
$ grunt
Running "jshint:gruntfile" (jshint) task
Linting Gruntfile.js...ERROR
[L8:C35] Extra comma. (it breaks older versions of IE)
files: ['test/**/*_test.js'],
[L22:C8] Extra comma. (it breaks older versions of IE)
},
[L36:C8] Extra comma. (it breaks older versions of IE)
},
[L37:C6] Extra comma. (it breaks older versions of IE)
},

Warning: Task "jshint:gruntfile" failed. Use --force to continue.

Aborted due to warnings.
````

After fixing that, I was greeted by:
````
$ grunt
Running "jshint:gruntfile" (jshint) task
>> 1 file lint free.

Running "jshint:lib" (jshint) task
>> 1 file lint free.

Running "jshint:test" (jshint) task
Linting test/npmalerts_test.js...ERROR
[L35:C4] Extra comma. (it breaks older versions of IE)
},

Warning: Task "jshint:test" failed. Use --force to continue.

Aborted due to warnings.
````

It would be nicer if it just ran cleanly. So I cleaned up the templates files according to the JSHint config. :)