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
f5ea571753
commit
1e1ebfbf3c
@ -144,11 +144,11 @@ module.exports = function( grunt ) {
|
|||||||
// Integrate jQuery specific tasks
|
// Integrate jQuery specific tasks
|
||||||
grunt.loadTasks( "build/tasks" );
|
grunt.loadTasks( "build/tasks" );
|
||||||
|
|
||||||
// Alias bower to bowercopy
|
|
||||||
grunt.registerTask( "bower", "bowercopy" );
|
grunt.registerTask( "bower", "bowercopy" );
|
||||||
|
grunt.registerTask( "lint", [ "jshint", "jscs" ] );
|
||||||
|
|
||||||
// Short list as a high frequency watch task
|
// Short list as a high frequency watch task
|
||||||
grunt.registerTask( "dev", [ "build:*:*", "jshint", "jscs" ] );
|
grunt.registerTask( "dev", [ "build:*:*", "lint" ] );
|
||||||
|
|
||||||
// Default grunt
|
// Default grunt
|
||||||
grunt.registerTask( "default", [ "jsonlint", "dev", "uglify", "dist:*", "compare_size" ] );
|
grunt.registerTask( "default", [ "jsonlint", "dev", "uglify", "dist:*", "compare_size" ] );
|
||||||
|
Loading…
Reference in New Issue
Block a user