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

Add auto-installing git hooks to auto-apply formating #20

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

GenieTim
Copy link
Contributor

@GenieTim GenieTim commented May 2, 2022

My suggestion as of method 2 listed in https://prettier.io/docs/en/precommit.html

@GenieTim
Copy link
Contributor Author

GenieTim commented May 2, 2022

Note: Husky does not (anymore) lead to the hooks being installed automatically, as that is discouraged: https://blog.typicode.com/husky-git-hooks-autoinstall/
Instead, with this implementation, we would suggest the devs to run npm run prepare after dependency installation to get the hooks set up.

@rosswintle rosswintle mentioned this pull request May 2, 2022
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.

1 participant