diff options
author | Oleg Gaidarenko <markelog@gmail.com> | 2014-02-18 20:34:49 +0400 |
---|---|---|
committer | Oleg Gaidarenko <markelog@gmail.com> | 2014-04-15 17:46:25 +0400 |
commit | 1e1ebfbf3c2e807992bfefa83df02cde18ee31a7 (patch) | |
tree | 01fbe81d70249c3ded1d40adcf712ba7e915007d /Gruntfile.js | |
parent | f5ea571753a69ff633152ca996f3c6eaedc08347 (diff) | |
download | jquery-1e1ebfbf3c2e807992bfefa83df02cde18ee31a7.tar.gz jquery-1e1ebfbf3c2e807992bfefa83df02cde18ee31a7.zip |
Build: Add lint task
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 4 |
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" ] ); |