aboutsummaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorOleg Gaidarenko <markelog@gmail.com>2014-02-18 20:34:49 +0400
committerOleg Gaidarenko <markelog@gmail.com>2014-04-15 17:46:25 +0400
commit1e1ebfbf3c2e807992bfefa83df02cde18ee31a7 (patch)
tree01fbe81d70249c3ded1d40adcf712ba7e915007d /Gruntfile.js
parentf5ea571753a69ff633152ca996f3c6eaedc08347 (diff)
downloadjquery-1e1ebfbf3c2e807992bfefa83df02cde18ee31a7.tar.gz
jquery-1e1ebfbf3c2e807992bfefa83df02cde18ee31a7.zip
Build: Add lint task
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js4
1 files 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" ] );