From 90301adbb56cfb31b85f23af18a69396fa1bccab Mon Sep 17 00:00:00 2001 From: Evan You Date: Sat, 26 Nov 2016 16:06:54 -0500 Subject: [PATCH] add quiet flag to pre-commit eslint --- build/git-hooks/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/git-hooks/pre-commit b/build/git-hooks/pre-commit index 92075b10..126d2ca4 100755 --- a/build/git-hooks/pre-commit +++ b/build/git-hooks/pre-commit @@ -3,5 +3,5 @@ files_to_lint=$(git diff --cached --name-only --diff-filter=ACM | grep '\.js$') if [ -n "$files_to_lint" ]; then - NODE_ENV=production eslint $files_to_lint + NODE_ENV=production eslint --quiet $files_to_lint fi