Merge pull request #1528 from maxbrunet/feat/fmt-pre-commit-hook
feat: add d2-fmt pre-commit hook
This commit is contained in:
commit
5436cb6b5f
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