From d44f9f22dee21a29748ecea65cb38acb0207f94b Mon Sep 17 00:00:00 2001 From: Nydragon <6582485n@proton.me> Date: Sun, 4 Jun 2023 16:23:49 +0200 Subject: [PATCH] style(commitizen): add commitizen add customized commitizen config to match repo needs implement request mentioned in [#214](https://github.com/tui-rs-revival/ratatui/issues/214) by @joshka --- .cz.toml | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 .cz.toml diff --git a/.cz.toml b/.cz.toml new file mode 100644 index 0000000000..6c64759961 --- /dev/null +++ b/.cz.toml @@ -0,0 +1,77 @@ +[tool.commitizen] +name = "cz_customize" +tag_format = "$version" +version_type = "semver" +version_provider = "cargo" +update_changelog_on_bump = true +major_version_zero = true +use_shortcuts = true + + +[tool.commitizen.customize] +message_template = """{{change_type}}({{scope}}): {{subject}} + +{% if body %}\ +{{body}}\ +{% endif %} + +{%if is_breaking_change %}\ +BREAKING_CHANGE: \ +{% endif %}\ +{{footer}}\ +""" +example = "feature: this feature enable customize through config file" +schema = "(): \n\n\n\n