diff --git a/.cz.toml b/.cz.toml new file mode 100644 index 0000000..5ac0af5 --- /dev/null +++ b/.cz.toml @@ -0,0 +1,7 @@ +[tool.commitizen] +name = "cz_conventional_commits" +tag_format = "$version" +version_scheme = "semver" +version_provider = "cargo" +update_changelog_on_bump = true +major_version_zero = true diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml deleted file mode 100644 index f07d323..0000000 --- a/.pre-commit-config.yaml +++ /dev/null @@ -1,29 +0,0 @@ -default_install_hook_types: [commit-msg, pre-commit] -repos: - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 - hooks: - - id: check-yaml - stages: [commit] - - id: check-json - stages: [commit] - - id: end-of-file-fixer - stages: [commit] - - repo: https://github.com/commitizen-tools/commitizen - rev: 3.0.1 - hooks: - - id: commitizen - stages: - - commit-msg - - repo: https://github.com/doublify/pre-commit-rust - rev: v1.0 - hooks: - - id: fmt - - id: cargo-check - - id: clippy - - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook - rev: v9.5.0 - hooks: - - id: commitlint - stages: [commit-msg] - additional_dependencies: ["@commitlint/config-conventional"]