Skip to content

Commit

Permalink
Merge pull request #114 from radkodinev/run-jshint-with-tests
Browse files Browse the repository at this point in the history
First check code with jshint upon running npm/grunt test
  • Loading branch information
vladikoff committed Aug 30, 2014
2 parents 8cfc65b + f47f2cd commit a4bd37f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,9 @@ module.exports = function(grunt) {

// Whenever the "test" task is run, first clean the "tmp" dir, then run this
// plugin's task(s), then test the result.
grunt.registerTask('test', ['clean', 'handlebars', 'nodeunit']);
grunt.registerTask('test', ['jshint', 'clean', 'handlebars', 'nodeunit']);

// By default, lint and run all tests.
grunt.registerTask('default', ['jshint', 'test', 'build-contrib']);
grunt.registerTask('default', ['test', 'build-contrib']);

};

0 comments on commit a4bd37f

Please sign in to comment.