Skip to content

Instantly share code, notes, and snippets.

Embed
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