File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ You can find complete setup instructions on the [official documentation](https:/
3131``` sh
3232npm install --save-dev husky
3333
34- npx husky init
34+ npx husky install
3535
3636# Add commit message linting to commit-msg hook
3737echo " npx --no -- commitlint --edit \$ 1" > .husky/commit-msg
@@ -51,7 +51,7 @@ echo "npm run commitlint \${1}" > .husky/commit-msg
5151` ` ` sh
5252yarn add --dev husky
5353
54- yarn husky init
54+ yarn husky install
5555
5656# Add commit message linting to commit-msg hook
5757echo " yarn commitlint --edit \$ 1" > .husky/commit-msg
@@ -74,7 +74,7 @@ echo "yarn commitlint \${1}" > .husky/commit-msg
7474```sh
7575pnpm add --save-dev husky
7676
77- pnpm husky init
77+ pnpm husky install
7878
7979# Add commit message linting to commit-msg hook
8080echo "pnpm dlx commitlint --edit \$1" > .husky/commit-msg
@@ -94,7 +94,7 @@ echo "pnpm commitlint \${1}" > .husky/commit-msg
9494```sh
9595deno add --dev husky
9696
97- deno task --eval husky init
97+ deno task --eval husky install
9898
9999# Add commit message linting to commit-msg hook
100100echo "deno task --eval commitlint --edit \$1" > .husky/commit-msg
You can’t perform that action at this time.
0 commit comments