Skip to content

Instantly share code, notes, and snippets.

Created February 5, 2022 14:53
What would you like to do?
Add pretty-quick and husky with npm
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