File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,9 @@ You can find complete setup instructions on the [official documentation](https:/
3131``` sh
3232npm install --save-dev husky
3333
34+ # husky@v9
35+ npx husky init
36+ # husky@v8 or lower
3437npx husky install
3538
3639# Add commit message linting to commit-msg hook
@@ -51,6 +54,9 @@ echo "npm run commitlint \${1}" > .husky/commit-msg
5154` ` ` sh
5255yarn add --dev husky
5356
57+ # husky@v9
58+ yarn husky init
59+ # husky@v8 or lower
5460yarn husky install
5561
5662# Add commit message linting to commit-msg hook
@@ -74,6 +80,9 @@ echo "yarn commitlint \${1}" > .husky/commit-msg
7480```sh
7581pnpm add --save-dev husky
7682
83+ # husky@v9
84+ pnpm husky init
85+ # husky@v8 or lower
7786pnpm husky install
7887
7988# Add commit message linting to commit-msg hook
@@ -94,6 +103,9 @@ echo "pnpm commitlint \${1}" > .husky/commit-msg
94103```sh
95104deno add --dev husky
96105
106+ # husky@v9
107+ deno task --eval husky init
108+ # husky@v8 or lower
97109deno task --eval husky install
98110
99111# Add commit message linting to commit-msg hook
You can’t perform that action at this time.
0 commit comments