From c67859a1ff1ea57010b2437ff04e4419ada5d5b9 Mon Sep 17 00:00:00 2001 From: James Brunton Date: Mon, 27 Oct 2025 16:05:24 +0000 Subject: [PATCH] Ban lint warnings (#4753) # Description of Changes [See my comment here on why I think we should never allow lint warnings to be merged into our source](https://github.com/Stirling-Tools/Stirling-PDF/pull/4738#issuecomment-3451053692). This doesn't change how ESLint behaves at all other than if only warnings are reported, it'll report failure instead of success. --- frontend/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/package.json b/frontend/package.json index c49b2297b..053a7d67b 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -59,7 +59,7 @@ "predev": "npm run generate-icons", "dev": "npm run typecheck && vite", "prebuild": "npm run generate-icons", - "lint": "eslint", + "lint": "eslint --max-warnings=0", "build": "npm run typecheck && vite build", "preview": "vite preview", "typecheck": "tsc --noEmit",