From 4b605589aa4d6bcfa2e0ad8509659bab3d9adbe1 Mon Sep 17 00:00:00 2001 From: philer Date: Sun, 12 Dec 2021 17:45:08 +0100 Subject: [PATCH] Fail on lint warnings --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 197500f..8ea5412 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "dist": "vite build", "test": "jest", "typecheck": "tsc -p tsconfig.json --noEmit", - "lint": "eslint src", + "lint": "eslint src --max-warnings 0", "format": "eslint src --fix", "pre-commit": "yarn lint && yarn typecheck && yarn test" },