Commit 1e1ebfbf authored by Oleg Gaidarenko's avatar Oleg Gaidarenko

Build: Add lint task

parent f5ea5717
......@@ -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" ] );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment