Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit d79b694

Browse files
committed
build: update Husky configuration
1 parent 1c0a405 commit d79b694

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,14 @@
4747
"linter:2.0.0"
4848
],
4949
"scripts": {
50-
"commitmsg": "commitlint -e $GIT_PARAMS",
5150
"lint": "eslint .",
5251
"test": "apm test"
5352
},
53+
"husky": {
54+
"hooks": {
55+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
56+
}
57+
},
5458
"eslintConfig": {
5559
"extends": "airbnb-base",
5660
"rules": {

0 commit comments

Comments
 (0)