aboutsummaryrefslogtreecommitdiffhomepage
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorMaxime Vincent <[email protected]>2024-05-29 14:03:40 +0200
committerPete Johanson <[email protected]>2024-09-13 16:04:26 -0600
commit82a22d731bdd6719844437cddaffc9773b538fcc (patch)
treed613c9da4f82ef6490c924183872e88ec827f0ff /.pre-commit-config.yaml
parent6e03a0bb67d0b2fc12004b109cbbd8c5c1448a21 (diff)
downloadzmk-82a22d731bdd6719844437cddaffc9773b538fcc.tar.gz
zmk-82a22d731bdd6719844437cddaffc9773b538fcc.zip
pre-commit: use versioned clang-format hook (v18.1.8)
Diffstat (limited to '.pre-commit-config.yaml')
-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