chore: 🔧 initialize cz and pre-commit hooks

This commit is contained in:
RaviAnand Mohabir 2024-06-25 11:23:22 +02:00
parent 0d1a410e06
commit 200e9eb4f5
2 changed files with 16 additions and 0 deletions

8
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,8 @@
repos:
- hooks:
- id: commitizen
- id: commitizen-branch
stages:
- push
repo: https://github.com/commitizen-tools/commitizen
rev: v3.16.0

8
cz.yaml Normal file
View File

@ -0,0 +1,8 @@
---
commitizen:
major_version_zero: true
name: cz_conventional_commits
tag_format: $version
update_changelog_on_bump: true
version: 0.0.1
version_scheme: semver