parent
9eee03bf55
commit
7b2e65cf91
File diff suppressed because one or more lines are too long
@ -0,0 +1,5 @@
|
|||||||
|
src/assets
|
||||||
|
src/icons
|
||||||
|
public
|
||||||
|
dist
|
||||||
|
node_modules
|
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
. "$(dirname "$0")/_/husky.sh"
|
||||||
|
|
||||||
|
npx commitlint --edit $1
|
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
. "$(dirname "$0")/_/husky.sh"
|
||||||
|
|
||||||
|
npx lint-staged
|
@ -0,0 +1,3 @@
|
|||||||
|
module.exports = {
|
||||||
|
'*.{jsx,js,vue,tsx,ts}': ['eslint --cache --fix --max-warnings=0'],
|
||||||
|
};
|
@ -0,0 +1,11 @@
|
|||||||
|
module.exports = {
|
||||||
|
extends: ['@commitlint/config-conventional'],
|
||||||
|
rules: {
|
||||||
|
'type-enum': [
|
||||||
|
2,
|
||||||
|
'always',
|
||||||
|
// 新增、修复、文档、不影响逻辑的代码格式、重构、测试、回滚、编译、持续集成、优化、配置、其他
|
||||||
|
['feat', 'fix', 'doc', 'style', 'refactor', 'test', 'revert', 'build', 'ci', 'perf', 'conf', 'chore'],
|
||||||
|
],
|
||||||
|
},
|
||||||
|
};
|
Loading…
Reference in new issue