chore(cz): update commitizen config
• fix the regex (add missing ‹style›) • reorder choices, alphabetical order is more maintainable than by the most used Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
583767008c
commit
8e227bd7c2
1 changed files with 2 additions and 2 deletions
4
.cz.toml
4
.cz.toml
|
@ -8,7 +8,7 @@ example = "cpp: add «997. Find the Town Judge»"
|
||||||
schema = "‹type_lang›: ‹message›"
|
schema = "‹type_lang›: ‹message›"
|
||||||
schema_pattern = """\
|
schema_pattern = """\
|
||||||
(?s)\
|
(?s)\
|
||||||
(chore|ci|cpp|cs|go|java|js|kt|rb|rs|swift)\
|
(chore|ci|style|cpp|cs|go|java|js|kt|rb|rs|swift)\
|
||||||
(\\(\\S+\\))?!?:\
|
(\\(\\S+\\))?!?:\
|
||||||
( [^\\n\\r]+)\
|
( [^\\n\\r]+)\
|
||||||
((\\n\\n.*)|(\\s*))?$\
|
((\\n\\n.*)|(\\s*))?$\
|
||||||
|
@ -17,7 +17,7 @@ schema_pattern = """\
|
||||||
[[tool.commitizen.customize.questions]]
|
[[tool.commitizen.customize.questions]]
|
||||||
type = "list"
|
type = "list"
|
||||||
name = "type_lang"
|
name = "type_lang"
|
||||||
choices = ["cpp", "rs", "cs", "go", "java", "kt", "js", "rb", "swift", "chore", "ci", "style"]
|
choices = ["cpp", "cs", "go", "java", "js", "kt", "rb", "rs", "swift", "chore", "ci", "style"]
|
||||||
message = "Select the language (or type of change) you are commiting"
|
message = "Select the language (or type of change) you are commiting"
|
||||||
|
|
||||||
[[tool.commitizen.customize.questions]]
|
[[tool.commitizen.customize.questions]]
|
||||||
|
|
Loading…
Reference in a new issue