From 3e79c9b09850899038f8609649de60ec326b8d10 Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Thu, 24 Oct 2013 22:48:22 +0100 Subject: chore(grunt): add jshint to the test task It is very easy to let jshint failures slip into the master build if the jshint task is not part of the standard local grunt tasks. --- Gruntfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index e78fbf45..b8ae0181 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -280,7 +280,7 @@ module.exports = function(grunt) { //alias tasks - grunt.registerTask('test', 'Run unit, docs and e2e tests with Karma', ['package','test:unit','test:promises-aplus', 'tests:docs', 'test:e2e']); + grunt.registerTask('test', 'Run unit, docs and e2e tests with Karma', ['jshint', 'package','test:unit','test:promises-aplus', 'tests:docs', 'test:e2e']); grunt.registerTask('test:jqlite', 'Run the unit tests with Karma' , ['tests:jqlite']); grunt.registerTask('test:jquery', 'Run the jQuery unit tests with Karma', ['tests:jquery']); grunt.registerTask('test:modules', 'Run the Karma module tests with Karma', ['tests:modules']); -- cgit v1.2.3