File tree 1 file changed +4
-4
lines changed
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:/
31
31
``` sh
32
32
npm install --save-dev husky
33
33
34
- npx husky init
34
+ npx husky install
35
35
36
36
# Add commit message linting to commit-msg hook
37
37
echo " npx --no -- commitlint --edit \$ 1" > .husky/commit-msg
@@ -51,7 +51,7 @@ echo "npm run commitlint \${1}" > .husky/commit-msg
51
51
` ` ` sh
52
52
yarn add --dev husky
53
53
54
- yarn husky init
54
+ yarn husky install
55
55
56
56
# Add commit message linting to commit-msg hook
57
57
echo " yarn commitlint --edit \$ 1" > .husky/commit-msg
@@ -74,7 +74,7 @@ echo "yarn commitlint \${1}" > .husky/commit-msg
74
74
```sh
75
75
pnpm add --save-dev husky
76
76
77
- pnpm husky init
77
+ pnpm husky install
78
78
79
79
# Add commit message linting to commit-msg hook
80
80
echo "pnpm dlx commitlint --edit \$1" > .husky/commit-msg
@@ -94,7 +94,7 @@ echo "pnpm commitlint \${1}" > .husky/commit-msg
94
94
```sh
95
95
deno add --dev husky
96
96
97
- deno task --eval husky init
97
+ deno task --eval husky install
98
98
99
99
# Add commit message linting to commit-msg hook
100
100
echo "deno task --eval commitlint --edit \$1" > .husky/commit-msg
You can’t perform that action at this time.
0 commit comments