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

@@ -20,7 +20,7 @@
"#stylisticConfigs": "./src/stylisticConfigs.ts"
},
"scripts": {
"lint": "eslint src"
"lint": "eslint src --max-warnings 0"
},
"keywords": [],
"author": "",