supabase-operator/.husky.toml
Peter Kurfer 7d9e518f86
Some checks failed
Lint / Run on Ubuntu (push) Failing after 2m42s
E2E Tests / Run on Ubuntu (push) Failing after 3m44s
Tests / Run on Ubuntu (push) Failing after 3m53s
refactor(db): extract Supabase migrations from release artifact
2025-01-05 11:42:15 +01:00

21 lines
351 B
TOML

[hooks]
# git hook pre commit
pre-commit = [
"go mod tidy -go=1.23",
"go run mage.go GenerateAll",
"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",
]