mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Build: Add lint task
This commit is contained in:
parent
3dee2983ab
commit
9d79b99874
@ -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" ] );
|
||||
|
Loading…
Reference in New Issue
Block a user