-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.cz.toml
More file actions
27 lines (25 loc) · 2.07 KB
/
.cz.toml
File metadata and controls
27 lines (25 loc) · 2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[tool.commitizen]
name = "cz_customize"
[tool.commitizen.customize]
example = "feat(parser): add ability to parse arrays"
message_template = "{type}{scope}: {description}\n\n{body}\n\n{breaking_change}{footer}"
schema = "<type>[optional scope]: <description>\n\n[optional body]\n\n[optional breaking change][optional footer]"
schema_pattern = "(?s)^(build|chore|ci|conf|docs|feat|fix|lib|meta|perf|refactor|revert|spell|style|test)(\\([^)]+\\))?: .+?(?:\n|$)"
[tool.commitizen.customize.questions]
type = { choices = [
{ name = "build: Changes that only affect the build system.", value = "build" },
{ name = "chore: Changes that do not affect production code.", value = "chore" },
{ name = "ci: Changes to CI/CD configuration files and scripts.", value = "ci" },
{ name = "conf: Changes that only add or modify configuration files.", value = "config" },
{ name = "docs: Changes which only affect documentation.", value = "docs" },
{ name = "feat: Changes that introduce features or significant improvements.", value = "feat" },
{ name = "fix: Changes that fix bugs, errors, or mistakes.", value = "fix" },
{ name = "lib: Changes that introduce or update vendored or externally-sourced code.", value = "lib" },
{ name = "meta: Changes to the project structure or that deal with project management.", value = "meta" },
{ name = "perf: Changes to code made to improve performance.", value = "perf" },
{ name = "refactor: Changes that neither fix bugs nor add features.", value = "refactor" },
{ name = "revert: Changes that revert a commit by overwriting with another commit.", value = "revert" },
{ name = "spell: Changes that only affect the cSpell wordlist.", value = "spell" },
{ name = "style: Changes that do not affect the meaning of the code.", value = "style" },
{ name = "test: Changes that introduce new tests or modify current tests.", value = "test" },
], message = "Select the type of change you are committing", type = "list" }