From 48aba2f0c40662186ff5d49dcca44ce563b365fd Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Sat, 28 Sep 2024 11:30:40 +0200 Subject: chore: Lints --- .githooks/pre-commit | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '.githooks') diff --git a/.githooks/pre-commit b/.githooks/pre-commit index 36f6357..e74b64c 100755 --- a/.githooks/pre-commit +++ b/.githooks/pre-commit @@ -4,9 +4,9 @@ set -ev gofmt -d -e -s . go vet ./... go run github.com/martinlehoux/kagamigo/cmd/cvet ./... -staticcheck ./... -gosec -quiet ./... -gocyclo -over 10 -ignore '.*_templ\.go' . -golangci-lint run +go run honnef.co/go/tools/cmd/staticcheck ./... +go run github.com/securego/gosec/v2/cmd/gosec -quiet ./... +go run github.com/fzipp/gocyclo/cmd/gocyclo -over 10 -ignore '.*_templ\.go' . +go run github.com/golangci/golangci-lint/cmd/golangci-lint run go test ./... -go mod tidy \ No newline at end of file +go mod tidy -- cgit v1.3