Skip to content

Commit 90301ad

Browse files
committed
add quiet flag to pre-commit eslint
1 parent 94b8f0f commit 90301ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/git-hooks/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
files_to_lint=$(git diff --cached --name-only --diff-filter=ACM | grep '\.js$')
44

55
if [ -n "$files_to_lint" ]; then
6-
NODE_ENV=production eslint $files_to_lint
6+
NODE_ENV=production eslint --quiet $files_to_lint
77
fi

0 commit comments

Comments
 (0)