supabase-operator/.husky.toml
Peter Kurfer d02e2d4653
Some checks failed
Deploy pages / deploy (push) Successful in 1m59s
Lint / Run on Ubuntu (push) Failing after 3m23s
E2E Tests / Run on Ubuntu (push) Failing after 4m0s
release / release (push) Successful in 7m16s
Tests / Run on Ubuntu (push) Failing after 3m45s
fix: minor issues
2025-01-21 19:50:11 +01:00

21 lines
353 B
TOML

[hooks]
# git hook pre commit
pre-commit = [
"go mod tidy -go=1.23.5",
"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",
]