Skip to content

Commit 82a22d7

Browse files
maximevincepetejohanson
authored andcommitted
pre-commit: use versioned clang-format hook (v18.1.8)
1 parent 6e03a0b commit 82a22d7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.pre-commit-config.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ repos:
55
hooks:
66
- id: remove-tabs
77
exclude: "vendor-prefixes\\.txt$"
8-
- repo: https://github.com/pocc/pre-commit-hooks
9-
rev: v1.3.5
8+
- repo: https://github.com/pre-commit/mirrors-clang-format
9+
rev: v18.1.8
1010
hooks:
1111
- id: clang-format
12+
types_or: [c++, c]
1213
args:
1314
- -i
1415
- repo: https://github.com/pre-commit/mirrors-prettier

0 commit comments

Comments
 (0)