From ef7b07a90e9ebacb3b9499045d4deec521117fa2 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sat, 28 Jan 2017 23:51:34 +0100 Subject: [PATCH] Linter warnings should fail pre-commit hook --- scripts/lint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lint b/scripts/lint index 51c64adc0..f83f6c9ba 100755 --- a/scripts/lint +++ b/scripts/lint @@ -28,7 +28,7 @@ if [[ ! -d `npm bin` ]]; then fi # Run ESLint -`npm bin`/eslint . +`npm bin`/eslint --max-warnings 0 . ESLINT=$? # Run Stylelint