aboutsummaryrefslogtreecommitdiffhomepage
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 352ad72327..1c6d560cef 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -4,7 +4,7 @@ repos:
rev: v1.5.1
hooks:
- id: remove-tabs
- exclude: "vendor-prefixes\\.txt$"
+ exclude: "vendor-prefixes\\.txt$|.git/COMMIT_EDITMSG"
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v18.1.8
hooks:
@@ -16,9 +16,14 @@ repos:
rev: v2.7.1
hooks:
- id: prettier
+ exclude: ".git/COMMIT_EDITMSG"
# Workaround for https://github.com/pre-commit/mirrors-prettier/issues/29
additional_dependencies:
+ - repo: https://github.com/jorisroovers/gitlint
+ rev: v0.19.1
+ hooks:
+ - id: gitlint
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks: