-
-
Save thehereward/144c15fa083141512b33f18ef12fea04 to your computer and use it in GitHub Desktop.
Add pretty-quick and husky with npm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install --save-dev prettier pretty-quick husky | |
npm set-script prepare "husky install" && npm run prepare | |
npx husky add .husky/pre-commit "npx pretty-quick --staged" | |
git add . && git commit -m "add pretty-quick and husky" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment