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 to v9 #1776

Merged
merged 1 commit into from
Aug 12, 2024
Merged

chore: upgrade husky to v9 #1776

merged 1 commit into from
Aug 12, 2024

Conversation

ripecosta
Copy link
Contributor

### Description

Upgrade husky to v9, along with its config.

Checklist

  • only relevant code is changed (make a diff before you submit the PR)
  • run tests npm run test
  • tests are included
  • commit message and code follows the Developer's Certification of Origin

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 have execute permissions or the script headers.

. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
npm exec lint-staged
Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed from npx to npm so the same tool is used everywhere.

@adrai adrai merged commit ff42302 into i18next:master Aug 12, 2024
8 checks passed
@ripecosta ripecosta deleted the rc/husky branch August 12, 2024 16:06
@coveralls
Copy link

Coverage Status

coverage: 97.174%. remained the same
when pulling 52d074a on ripecosta:rc/husky
into c82eb4b on i18next:master.

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