You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/README.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,7 @@ Already using husky? See [Migrate from 4 to 7](/?id=migrate-from-v4-to-v7).
64
64
npx husky-init && npm install # npm
65
65
npx husky-init && yarn # Yarn 1
66
66
yarn dlx husky-init --yarn2 && yarn # Yarn 2
67
+
pnpm dlx husky-init && pnpm install # pnpm
67
68
```
68
69
69
70
It will setup husky, modify `package.json` and create a sample `pre-commit` hook that you can edit. By default, it will run `npm test` when you commit.
0 commit comments