mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Build: Don't lint the built file in the husky precommit hook
The husky Git precommit hook was linting not only the source but also the built file. Normally it's expected, we want to run basic checks on what's built but in the precommit hook we're not building the file so we might be linting some previous, broken version. Fixes gh-3091
This commit is contained in:
parent
dbdc4b761b
commit
d3a781d762
@ -217,5 +217,5 @@ module.exports = function( grunt ) {
|
||||
|
||||
grunt.registerTask( "default", [ "dev", "test_fast", "compare_size" ] );
|
||||
|
||||
grunt.registerTask( "precommit_lint", [ "newer:jsonlint", "newer:jshint", "newer:jscs" ] );
|
||||
grunt.registerTask( "precommit_lint", [ "newer:jsonlint", "newer:jshint:all", "newer:jscs" ] );
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user