Configuring project npx husky-init # add --yarn2 for Yarn 2 yarn husky set .husky/pre-commit "npx pretty-quick --staged"