mirror of https://github.com/zmkfirmware/zmk.git
pre-commit: use versioned clang-format hook (v18.1.8)
This commit is contained in:
parent
6e03a0bb67
commit
82a22d731b
|
|
@ -5,10 +5,11 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: remove-tabs
|
- id: remove-tabs
|
||||||
exclude: "vendor-prefixes\\.txt$"
|
exclude: "vendor-prefixes\\.txt$"
|
||||||
- repo: https://github.com/pocc/pre-commit-hooks
|
- repo: https://github.com/pre-commit/mirrors-clang-format
|
||||||
rev: v1.3.5
|
rev: v18.1.8
|
||||||
hooks:
|
hooks:
|
||||||
- id: clang-format
|
- id: clang-format
|
||||||
|
types_or: [c++, c]
|
||||||
args:
|
args:
|
||||||
- -i
|
- -i
|
||||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue