aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.pre-commit-config.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index e0666ea8d2..352ad72327 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -5,10 +5,11 @@ repos:
hooks:
- id: remove-tabs
exclude: "vendor-prefixes\\.txt$"
- - repo: https://github.com/pocc/pre-commit-hooks
- rev: v1.3.5
+ - repo: https://github.com/pre-commit/mirrors-clang-format
+ rev: v18.1.8
hooks:
- id: clang-format
+ types_or: [c++, c]
args:
- -i
- repo: https://github.com/pre-commit/mirrors-prettier