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
and then update the pre-commit to run yarn lint-staged
then finally commit all the changes (chore(package.json): install husky and run lint-staged before commit)
The text was updated successfully, but these errors were encountered:
Why remove
Husky
husky
dependency is removed since v1.0.3When generating the project with the latest husky, the husky won't run and show the warning message.
And that's because the hook scripts that are generated by the CRA script are not executable (ref).
How to apply manually
Follow the husky usage document manually after generating the project.
and then update the pre-commit to run
yarn lint-staged
then finally commit all the changes (
chore(package.json): install husky and run lint-staged before commit
)The text was updated successfully, but these errors were encountered: