From c416de3499da8b4ebfb9b66a698885c033103c98 Mon Sep 17 00:00:00 2001 From: David Luzar Date: Mon, 23 Mar 2020 16:20:42 +0100 Subject: [PATCH] fix lint not failing on warnings on CI (#1063) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2fbe4ff888..84296f17a8 100644 --- a/package.json +++ b/package.json @@ -96,7 +96,7 @@ "test": "npm run test:app", "test:app": "react-scripts test --env=jsdom --passWithNoTests", "test:debug": "react-scripts --inspect-brk test --runInBand --no-cache", - "test:code": "eslint --ignore-path .gitignore --ext .js,.ts,.tsx .", + "test:code": "eslint --max-warnings=0 --ignore-path .gitignore --ext .js,.ts,.tsx .", "test:typecheck": "tsc", "test:other": "npm run prettier -- --list-different" },