chore: add pre-commit rule (see #72)

This commit is contained in:
Hugo Pointcheval 2022-12-07 20:00:57 -05:00 committed by Gitea
parent 5e83c9e74e
commit bf03324fd0

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

@ -0,0 +1,7 @@
repos:
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v2.1.1
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
args: [build, ci, docs, feat, fix, perf, refactor, style, test, chore]