Skip to content

Commit b36df1a

Browse files
committed
chore: add husky commit-msg
1 parent 173a85d commit b36df1a

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.husky/commit-msg

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx --no-install commitlint --edit ""

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
"eslint-plugin-unicorn": "^37.0.0",
5656
"eslint-scope": "^6.0.0",
5757
"espree": "^9.0.0",
58+
"husky": "^7.0.2",
5859
"lodash": "^4.17.2",
5960
"markdownlint-cli": "^0.28.1",
6061
"mocha": "^9.1.2",

0 commit comments

Comments
 (0)