From 9d79b99874a5f52f0b83ca11dd45a7302adebdae 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 001a407d0..54d3194bc 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -145,11 +145,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