supabase-operator/.husky.toml

20 lines
317 B
TOML

[hooks]
# git hook pre commit
pre-commit = [
"go mod tidy -go=1.24",
"husky lint-staged",
# "golangci-lint run",
]
# git hook commit msg
commit-msg = [
"husky lint-commit",
]
# list staged files do some pre-process and git add
[lint-staged]
"*.go" = [
"goimports -l -w",
"gofumpt -l -w",
]