diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8b04a3f..c4043c6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,6 +15,12 @@ repos: args: [--allow-multiple-documents] - id: check-xml - 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 rev: v0.12.0 hooks: