grunt-lintblame

Hook git blame into jshint

grunt-lintblame

A grunt plugin that hooks in git blame to your jshint output.

Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-lintblame

Then add this line to your project's grunt.js gruntfile:

grunt.loadNpmTasks('grunt-lintblame');
Running "lintblame:files" (lintblame) task
Linting test/data/awesome.js...ERROR
[L3:C3] Expected an assignment or function call and instead saw an expression.
^dcb5a09 (Jamund Ferguson 2012-06-13 13:13:38 -0600 3)   party hard"";
[L3:C8] Missing semicolon.
^dcb5a09 (Jamund Ferguson 2012-06-13 13:13:38 -0600 3)   party hard"";
[L3:C9] Expected an assignment or function call and instead saw an expression.
^dcb5a09 (Jamund Ferguson 2012-06-13 13:13:38 -0600 3)   party hard"";
[L3:C13] Missing semicolon.
^dcb5a09 (Jamund Ferguson 2012-06-13 13:13:38 -0600 3)   party hard"";
[L3:C13] Expected an assignment or function call and instead saw an expression.
^dcb5a09 (Jamund Ferguson 2012-06-13 13:13:38 -0600 3)   party hard"";
[L1:C5] 'fun' is not defined.
^dcb5a09 (Jamund Ferguson 2012-06-13 13:13:38 -0600 1) if (fun)
[L3:C3] 'party' is not defined.
^dcb5a09 (Jamund Ferguson 2012-06-13 13:13:38 -0600 3)   party hard"";
[L3:C9] 'hard' is not defined.
^dcb5a09 (Jamund Ferguson 2012-06-13 13:13:38 -0600 3)   party hard"";

(Coming soon)

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

(Nothing yet)

Copyright (c) 2012 Jamund Ferguson
Licensed under the MIT license.