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_pattern = """\
|
||||
(?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+\\))?!?:\
|
||||
( [^\\n\\r]+)\
|
||||
((\\n\\n.*)|(\\s*))?$\
|
||||
|
@ -17,7 +17,7 @@ schema_pattern = """\
|
|||
[[tool.commitizen.customize.questions]]
|
||||
type = "list"
|
||||
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"
|
||||
|
||||
[[tool.commitizen.customize.questions]]
|
||||
|
|
Loading…
Reference in a new issue