✨ feat(commit-message): bundle policy and validator
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"types": {
|
||||
"init": ":tada:",
|
||||
"feat": ":sparkles:",
|
||||
"fix": ":bug:",
|
||||
"perf": ":rocket:",
|
||||
"refactor": ":recycle:",
|
||||
"style": ":art:",
|
||||
"docs": ":memo:",
|
||||
"test": ":white_check_mark:",
|
||||
"deps": ":package:",
|
||||
"security": ":lock:",
|
||||
"deprecate": ":warning:",
|
||||
"remove": ":wastebasket:",
|
||||
"chore": ":wrench:",
|
||||
"contrib": ":busts_in_silhouette:",
|
||||
"release": ":bookmark:"
|
||||
},
|
||||
"scope": {
|
||||
"optional": true,
|
||||
"pattern": "^[a-z0-9]+(?:[-_][a-z0-9]+)*$"
|
||||
},
|
||||
"subject": {
|
||||
"max_length": 72,
|
||||
"forbidden_suffixes": [".", "。"]
|
||||
},
|
||||
"emoji": {
|
||||
"required_by_default": true,
|
||||
"requirement_env": "COMMIT_LINT_REQUIRE_EMOJI",
|
||||
"false_values": ["0", "false"]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user