You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this part of the documentation can mislead that prepare script is placed in the pre-commit script in husky.
when prepare needs to be in pre-checkout.
The init command simplifies setting up husky in a project. It creates a pre-commit script in .husky/ and updates the prepare script in package.json. Modifications can be made later to suit your workflow.
Uh oh!
There was an error while loading. Please reload this page.
this part of the documentation can mislead that prepare script is placed in the pre-commit script in husky.
when prepare needs to be in pre-checkout.
The init command simplifies setting up husky in a project. It creates a pre-commit script in .husky/ and updates the prepare script in package.json. Modifications can be made later to suit your workflow.
Troubleshoot
https://typicode.github.io/husky/troubleshoot.html
If you're migrating from husky 4, see:
https://typicode.github.io/husky/migrate-from-v4.html
Context
Please describe your issue and provide some context:
pnpm exec husky init
Thank you!
The text was updated successfully, but these errors were encountered: