Skip to content

Commit

Permalink
fix: ensure lint returns error on failure
Browse files Browse the repository at this point in the history
After making openedx/frontend-app-admin-portal#1014, I did a full search of the org for `; npm run` and ended up here. This PR ensures the CI will fail when eslint fails.
  • Loading branch information
brian-smith-tcril authored Aug 1, 2023
1 parent 983a602 commit 0aa3844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"deploy:gh-pages": "npm run build && gh-pages -d dist",
"lint": "fedx-scripts eslint --ext .jsx,.js .",
"lint-fix": "fedx-scripts eslint --ext .jsx,.js . --fix",
"prepush": "npm run lint; npm run stylelint",
"prepush": "npm run lint && npm run stylelint",
"prepublishOnly": "npm run build",
"start": "fedx-scripts webpack-dev-server --progress",
"debug-test": "node --inspect-brk node_modules/.bin/jest --coverage --runInBand",
Expand Down

0 comments on commit 0aa3844

Please sign in to comment.