diff options
author | Maxime Vincent <[email protected]> | 2024-05-29 14:03:40 +0200 |
---|---|---|
committer | Pete Johanson <[email protected]> | 2024-09-13 16:04:26 -0600 |
commit | 82a22d731bdd6719844437cddaffc9773b538fcc (patch) | |
tree | d613c9da4f82ef6490c924183872e88ec827f0ff /.pre-commit-config.yaml | |
parent | 6e03a0bb67d0b2fc12004b109cbbd8c5c1448a21 (diff) | |
download | zmk-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.yaml | 5 |
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 |