28 lines
491 B
JSON
28 lines
491 B
JSON
|
|
{
|
||
|
|
"extends": ["@commitlint/config-conventional"],
|
||
|
|
"rules": {
|
||
|
|
"type-enum": [
|
||
|
|
2,
|
||
|
|
"always",
|
||
|
|
[
|
||
|
|
"feat",
|
||
|
|
"fix",
|
||
|
|
"docs",
|
||
|
|
"style",
|
||
|
|
"refactor",
|
||
|
|
"perf",
|
||
|
|
"test",
|
||
|
|
"build",
|
||
|
|
"ci",
|
||
|
|
"chore",
|
||
|
|
"revert",
|
||
|
|
"security"
|
||
|
|
]
|
||
|
|
],
|
||
|
|
"subject-case": [0],
|
||
|
|
"header-max-length": [2, "always", 120],
|
||
|
|
"body-max-line-length": [1, "always", 200],
|
||
|
|
"footer-max-line-length": [0]
|
||
|
|
}
|
||
|
|
}
|