Merge pull request #1528 from maxbrunet/feat/fmt-pre-commit-hook

feat: add d2-fmt pre-commit hook
This commit is contained in:
Alexander Wang 2023-08-02 20:43:56 -07:00 committed by GitHub
commit 5436cb6b5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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$