forked from kofal.net/zmk
setup pre-commit hooks for clang-format and prettier
This commit is contained in:
committed by
Pete Johanson
parent
b84d29c384
commit
11d990e59a
12
.pre-commit-config.yaml
Normal file
12
.pre-commit-config.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
fail_fast: false
|
||||
repos:
|
||||
- repo: https://github.com/pocc/pre-commit-hooks
|
||||
rev: master
|
||||
hooks:
|
||||
- id: clang-format
|
||||
args:
|
||||
- -i
|
||||
- repo: https://github.com/prettier/prettier
|
||||
rev: master
|
||||
hooks:
|
||||
- id: prettier
|
||||
Reference in New Issue
Block a user