pre-commit: use versioned clang-format hook (v18.1.8)

This commit is contained in:
Maxime Vincent 2024-05-29 14:03:40 +02:00 committed by Pete Johanson
parent 6e03a0bb67
commit 82a22d731b
1 changed files with 3 additions and 2 deletions

View File

@ -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