pre-commit: use versioned clang-format hook
This commit is contained in:
parent
2d96f469c8
commit
135f80f6a8
1 changed files with 3 additions and 2 deletions
|
@ -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: v17.0.3
|
||||
hooks:
|
||||
- id: clang-format
|
||||
types_or: [c++, c]
|
||||
args:
|
||||
- -i
|
||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||
|
|
Loading…
Add table
Reference in a new issue