-
Notifications
You must be signed in to change notification settings - Fork 0
husky usage #1
Copy link
Copy link
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationwontfixThis will not be worked onThis will not be worked on
Description
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationwontfixThis will not be worked onThis will not be worked on
Why remove
Huskyhuskydependency 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-stagedthen finally commit all the changes (
chore(package.json): install husky and run lint-staged before commit)