feat: add d2-fmt pre-commit hook
This commit is contained in:
parent
aff4810f3c
commit
76cc72326b
1 changed files with 6 additions and 0 deletions
6
.pre-commit-hooks.yaml
Normal file
6
.pre-commit-hooks.yaml
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
- id: d2-fmt
|
||||||
|
name: d2 fmt
|
||||||
|
description: Format d2 files
|
||||||
|
entry: d2 fmt
|
||||||
|
language: golang
|
||||||
|
files: \.d2$
|
||||||
Loading…
Reference in a new issue