diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml new file mode 100644 index 000000000..1a626eae2 --- /dev/null +++ b/.pre-commit-hooks.yaml @@ -0,0 +1,6 @@ +- id: d2-fmt + name: d2 fmt + description: Format d2 files + entry: d2 fmt + language: golang + files: \.d2$