Treat ESLint warnings as errors in all packages

Add --max-warnings 0 to every eslint lint script so that any warning
causes a non-zero exit code. This makes `make lint` and CI fail on
warnings, not just hard errors.

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Sacha Al Himdani
2026-03-25 17:00:32 +01:00
parent 93c3b70ecc
commit a3580a5647
4 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@
"relay-compile": "npx relay-compiler",
"relay": "npm run relay-clean && npm run relay-compile",
"build": "tsc -b && vite build",
"lint": "eslint . --concurrency 4",
"lint": "eslint . --concurrency 4 --max-warnings 0",
"check": "tsc --noEmit -p tsconfig.app.json",
"preview": "vite preview"
},