Skip to content

Commit

Permalink
Fail the build if lint warnings appear
Browse files Browse the repository at this point in the history
  • Loading branch information
bobrippling committed Jun 25, 2024
1 parent b6c013a commit 2c39e38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 2c39e38

Please sign in to comment.