Skip to content

Commit 078bfd6

Browse files
author
neilcui
committed
test commitlint
1 parent b7c001f commit 078bfd6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"scripts": {
55
"lint": "eslint examples bin test --fix",
66
"precommit": "lint-staged",
7+
"commitmsg": "commitlint -e $GIT_PARAMS",
78
"test": "mocha --recursive test/bin",
89
"coverage": "nyc --reporter=lcov --reporter=text npm test && codecov"
910
},
@@ -19,6 +20,8 @@
1920
"memcached": "~0.2.8"
2021
},
2122
"devDependencies": {
23+
"@commitlint/cli": "^6.2.0",
24+
"@commitlint/config-conventional": "^6.1.3",
2225
"chai": "^4.1.2",
2326
"codecov": "^3.0.2",
2427
"eslint": "^4.10.0",

0 commit comments

Comments
 (0)