Build: Add lint task

This commit is contained in:
Oleg Gaidarenko 2014-02-18 20:34:49 +04:00
parent f5ea571753
commit 1e1ebfbf3c

View File

@ -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" ] );