From 3bcd1bf665ddfb8bc3d90e631d41dda913c468f4 Mon Sep 17 00:00:00 2001 From: Anthony Lapenna Date: Wed, 6 Jul 2016 14:20:29 +1200 Subject: [PATCH] chore(grunt): add new lint task --- gruntFile.js | 1 + 1 file changed, 1 insertion(+) diff --git a/gruntFile.js b/gruntFile.js index b9b0d9a5c..606b7fc73 100644 --- a/gruntFile.js +++ b/gruntFile.js @@ -35,6 +35,7 @@ module.exports = function (grunt) { 'recess:min', 'copy' ]); + grunt.registerTask('lint', ['jshint']); grunt.registerTask('test-watch', ['karma:watch']); grunt.registerTask('run', ['if:binaryNotExist', 'build', 'shell:buildImage', 'shell:run']); grunt.registerTask('run-swarm', ['if:binaryNotExist', 'build', 'shell:buildImage', 'shell:runSwarm', 'watch:buildSwarm']);