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

chore: upgrade husky config to v9 #1054

Merged
merged 1 commit into from
Aug 19, 2024
Merged

chore: upgrade husky config to v9 #1054

merged 1 commit into from
Aug 19, 2024

Conversation

ripecosta
Copy link
Contributor

@ripecosta ripecosta commented Aug 12, 2024

Why am I submitting this PR

Upgrade husky config to v9. V9 was already in use but still using the legacy config method.
Also replaces the npx commands with yarn commands because there's not need to use npx since yarn already installs lint-staged.

Does it fix an existing ticket?

No

Checklist

  • only relevant code is changed (make a diff before you submit the PR)
  • tests are included and pass: yarn test (see details here)
  • documentation is changed or added

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Husky v9 no longer needs this .gitignore file. The _ folder itself contains one that does exactly the same.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Husky v9 no longer requires this file to be have executable permissions.

@codecov-commenter
Copy link

codecov-commenter commented Aug 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.35%. Comparing base (168c8d5) to head (5d8c198).
Report is 71 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1054      +/-   ##
==========================================
- Coverage   95.40%   95.35%   -0.05%     
==========================================
  Files          11       10       -1     
  Lines        1937     1918      -19     
==========================================
- Hits         1848     1829      -19     
  Misses         89       89              

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

@ripecosta ripecosta mentioned this pull request Aug 12, 2024
3 tasks
@ripecosta
Copy link
Contributor Author

Rebased the PR to fix merge conflicts and it's ready to go now.

CC: @karellm

@karellm karellm merged commit 4a30cbf into i18next:master Aug 19, 2024
5 checks passed
@karellm
Copy link
Member

karellm commented Aug 19, 2024

You bit to it, thanks!

@ripecosta ripecosta deleted the rc/husky branch August 19, 2024 10:50
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.

3 participants