メモ

`husky`を追加する

公開`husky`
npm install husky -D
npm set-script prepare "husky install"
npm run prepare
npx husky add .husky/pre-commit "npm run precommit"

例えば、

npm set-script precommit "npm run check && npm run lint && npm run format"