feat(add-commitizen): Add commitizen to make it easier to commit in semantic commits
This commit is contained in:
parent
87c822dbd7
commit
4eb644d69d
2 changed files with 13 additions and 0 deletions
5
.cz.toml
Normal file
5
.cz.toml
Normal file
|
@ -0,0 +1,5 @@
|
|||
[tool.commitizen]
|
||||
name = "cz_conventional_commits"
|
||||
tag_format = "v$version"
|
||||
version_scheme = "semver"
|
||||
version_provider = "scm"
|
8
.pre-commit-config.yaml
Normal file
8
.pre-commit-config.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
repos:
|
||||
- hooks:
|
||||
- id: commitizen
|
||||
- id: commitizen-branch
|
||||
stages:
|
||||
- push
|
||||
repo: https://github.com/commitizen-tools/commitizen
|
||||
rev: v4.4.1
|
Loading…
Add table
Reference in a new issue