mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Build: run linters on git-commit
Fixes gh-2577 Closes gh-2881
This commit is contained in:
parent
25068bf2c6
commit
d94c453979
@ -224,4 +224,6 @@ module.exports = function( grunt ) {
|
||||
grunt.registerTask( "dev", [ "build:*:*", "lint", "uglify", "remove_map_comment", "dist:*" ] );
|
||||
|
||||
grunt.registerTask( "default", [ "dev", "test_fast", "compare_size" ] );
|
||||
|
||||
grunt.registerTask( "precommit_lint", [ "newer:jsonlint", "newer:jshint", "newer:jscs" ] );
|
||||
};
|
||||
|
@ -39,8 +39,10 @@
|
||||
"grunt-git-authors": "3.1.0",
|
||||
"grunt-jscs": "2.6.0",
|
||||
"grunt-jsonlint": "1.0.7",
|
||||
"grunt-newer": "1.1.1",
|
||||
"grunt-npmcopy": "0.1.0",
|
||||
"gzip-js": "0.3.2",
|
||||
"husky": "0.10.2",
|
||||
"jsdom": "5.6.1",
|
||||
"load-grunt-tasks": "3.4.0",
|
||||
"native-promise-only": "0.8.1",
|
||||
|
Loading…
Reference in New Issue
Block a user