feat: add d2-fmt pre-commit hook

This commit is contained in:
Maxime Brunet 2023-08-02 18:58:17 -07:00
parent aff4810f3c
commit 76cc72326b
No known key found for this signature in database
GPG key ID: 437962FF87ECFE2B

6
.pre-commit-hooks.yaml Normal file
View file

@ -0,0 +1,6 @@
- id: d2-fmt
name: d2 fmt
description: Format d2 files
entry: d2 fmt
language: golang
files: \.d2$