mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Only lint modified files
This commit is contained in:
@@ -8,7 +8,7 @@ eslint=$(git config hooks.ignore-eslint)
|
||||
|
||||
echo "Linting Meteor tool code..."
|
||||
|
||||
./scripts/admin/eslint/eslint.sh
|
||||
./scripts/admin/eslint/eslint.sh modified
|
||||
linter_exit_code=$?
|
||||
|
||||
if [ "$eslint" != "true" ] && [ $linter_exit_code != 0 ]
|
||||
|
||||
Reference in New Issue
Block a user