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:
@@ -20,7 +20,7 @@
|
||||
"#stylisticConfigs": "./src/stylisticConfigs.ts"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint src"
|
||||
"lint": "eslint src --max-warnings 0"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
|
||||
Reference in New Issue
Block a user