Add lefthook configuration for formatting

This commit is contained in:
Eli Ribble 2025-11-06 22:31:29 +00:00
parent ff1fd18da1
commit f7ad8b9c5f
No known key found for this signature in database

6
lefthook.yml Normal file
View file

@ -0,0 +1,6 @@
pre-commit:
commands:
gofmt:
glob: "*.go"
run: gofmt -w {staged_files}
stage_fixed: true