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:/
31
31
``` sh
32
32
npm install --save-dev husky
33
33
34
+ # husky@v9
35
+ npx husky init
36
+ # husky@v8 or lower
34
37
npx husky install
35
38
36
39
# Add commit message linting to commit-msg hook
@@ -51,6 +54,9 @@ echo "npm run commitlint \${1}" > .husky/commit-msg
51
54
` ` ` sh
52
55
yarn add --dev husky
53
56
57
+ # husky@v9
58
+ yarn husky init
59
+ # husky@v8 or lower
54
60
yarn husky install
55
61
56
62
# Add commit message linting to commit-msg hook
@@ -74,6 +80,9 @@ echo "yarn commitlint \${1}" > .husky/commit-msg
74
80
```sh
75
81
pnpm add --save-dev husky
76
82
83
+ # husky@v9
84
+ pnpm husky init
85
+ # husky@v8 or lower
77
86
pnpm husky install
78
87
79
88
# Add commit message linting to commit-msg hook
@@ -94,6 +103,9 @@ echo "pnpm commitlint \${1}" > .husky/commit-msg
94
103
```sh
95
104
deno add --dev husky
96
105
106
+ # husky@v9
107
+ deno task --eval husky init
108
+ # husky@v8 or lower
97
109
deno task --eval husky install
98
110
99
111
# Add commit message linting to commit-msg hook
You can’t perform that action at this time.
0 commit comments