mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-09 05:00:30 +08:00
chore: del repeat commit message config
This commit is contained in:
parent
a1cc5ad7b1
commit
aea3097ab3
21
package.json
21
package.json
@ -112,26 +112,5 @@
|
||||
"engines": {
|
||||
"node": ">= 6.0.0",
|
||||
"npm": ">= 3.0.0"
|
||||
},
|
||||
"config": {
|
||||
"ghooks": {
|
||||
"commit-msg": "validate-commit-msg"
|
||||
},
|
||||
"validate-commit-msg": {
|
||||
"types": [
|
||||
"feat",
|
||||
"fix",
|
||||
"docs",
|
||||
"test",
|
||||
"chore",
|
||||
"refactor",
|
||||
"opti"
|
||||
],
|
||||
"warnOnFail": false,
|
||||
"maxSubjectLength": 100,
|
||||
"subjectPattern": ".+",
|
||||
"subjectPatternErrorMsg": "请输入message信息!",
|
||||
"helpMessage": "Commit message 格式错误, \n请查看规范: http://wiki.corp.qunar.com/pages/viewpage.action?pageId=159698767"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user