Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ensure lint returns error on failure #1014

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

brian-smith-tcril
Copy link

@brian-smith-tcril brian-smith-tcril commented Aug 1, 2023

Noticed this was failing lint when reviewing #1013. The CI was running but the lint command in package.json was written in a way that wouldn't fail CI on lint failure. This PR updates the package.json to fail CI when lint fails, and fixes the lint errors in Coupon.test.jsx (by running npm run lint:fix)

@brian-smith-tcril brian-smith-tcril changed the title chore: lint Coupon.test.jsx fix: ensure lint returns error on failure Aug 1, 2023
brian-smith-tcril added a commit to brian-smith-tcril/frontend-app-publisher that referenced this pull request Aug 1, 2023
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.
@codecov
Copy link

codecov bot commented Aug 1, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (88357d6) 83.18% compared to head (5e6e0d9) 83.18%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1014   +/-   ##
=======================================
  Coverage   83.18%   83.18%           
=======================================
  Files         397      397           
  Lines        8639     8639           
  Branches     1787     1787           
=======================================
  Hits         7186     7186           
  Misses       1415     1415           
  Partials       38       38           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant