Fail the build if lint warnings appear

pull/3474/head
Rob Pilling 2024-06-25 22:04:07 +01:00
parent b6c013a9ae
commit 2c39e38b3f
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@
"npm-watch": "^0.11.0"
},
"scripts": {
"lint-apps": "node bin/sync-lint-exemptions.mjs && eslint ./apps",
"lint-modules": "eslint ./modules",
"lint-apps": "node bin/sync-lint-exemptions.mjs && eslint --max-warnings 0 ./apps",
"lint-modules": "eslint --max-warnings 0 ./modules",
"test": "node bin/sanitycheck.js && npm run lint-apps && npm run lint-modules",
"fix": "eslint --fix ./apps ./modules",
"update-local-apps": "./bin/create_apps_json.sh apps.local.json",