chore: enforce conventional commit at git commit
这个提交包含在:
父节点
47e3e5c0ca
当前提交
309ae7cec9
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": ["@commitlint/config-conventional"]
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npx --no -- commitlint --edit "$1"
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
#npm test
|
文件差异内容过多而无法显示
加载差异
|
@ -8,11 +8,16 @@
|
|||
"lint:styles": "stylelint \"**/*.{less,css}\"",
|
||||
"lint:i18n": "banana-checker --requireLowerCase=0 i18n/",
|
||||
"doc": "jsdoc -c jsdoc.json",
|
||||
"minify-svg": "svgo --config=.svgo.config.js -q -r -f resources/"
|
||||
"minify-svg": "svgo --config=.svgo.config.js -q -r -f resources/",
|
||||
"test": "npm run lint",
|
||||
"prepare": "husky install"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^16.2.3",
|
||||
"@commitlint/config-conventional": "^16.2.1",
|
||||
"eslint-config-wikimedia": "0.22.1",
|
||||
"grunt-banana-checker": "0.9.0",
|
||||
"husky": "^7.0.4",
|
||||
"jsdoc": "3.6.10",
|
||||
"jsdoc-wmf-theme": "0.0.5",
|
||||
"stylelint-config-idiomatic-order": "8.1.0",
|
||||
|
|
正在加载...
在新工单中引用