From 1e1ebfbf3c2e807992bfefa83df02cde18ee31a7 Mon Sep 17 00:00:00 2001 From: Oleg Gaidarenko Date: Tue, 18 Feb 2014 20:34:49 +0400 Subject: [PATCH] Build: Add lint task --- Gruntfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 05eafcaa6..144634dec 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -144,11 +144,11 @@ module.exports = function( grunt ) { // Integrate jQuery specific tasks grunt.loadTasks( "build/tasks" ); - // Alias bower to bowercopy grunt.registerTask( "bower", "bowercopy" ); + grunt.registerTask( "lint", [ "jshint", "jscs" ] ); // Short list as a high frequency watch task - grunt.registerTask( "dev", [ "build:*:*", "jshint", "jscs" ] ); + grunt.registerTask( "dev", [ "build:*:*", "lint" ] ); // Default grunt grunt.registerTask( "default", [ "jsonlint", "dev", "uglify", "dist:*", "compare_size" ] ); -- 2.39.5