Only lint modified files

This commit is contained in:
David Glasser
2015-06-25 15:03:13 -07:00
parent fd81473151
commit 5e03daeb66

View File

@@ -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 ]