feat: use commitlint in pre-commit

This commit is contained in:
Michele Cereda
2023-09-14 00:34:50 +02:00
parent 695b20188d
commit d4f6856274

View File

@@ -15,6 +15,12 @@ repos:
args: [--allow-multiple-documents] args: [--allow-multiple-documents]
- id: check-xml - id: check-xml
- id: check-added-large-files - id: check-added-large-files
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.5.0
hooks:
- id: commitlint
stages: [commit-msg]
additional_dependencies: ['@commitlint/config-conventional']
- repo: https://github.com/markdownlint/markdownlint - repo: https://github.com/markdownlint/markdownlint
rev: v0.12.0 rev: v0.12.0
hooks: hooks: