Enable same linters as in CI pipeline

This commit is contained in:
Holger Obermaier
2026-03-09 14:02:28 +01:00
parent a4332554f4
commit 290042d6ea

View File

@@ -89,7 +89,7 @@ staticcheck:
.PHONY: golangci-lint
golangci-lint:
$(GOBIN) install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest
$$($(GOBIN) env GOPATH)/bin/golangci-lint run
$$($(GOBIN) env GOPATH)/bin/golangci-lint run --enable errorlint,govet,misspell,modernize,prealloc,staticcheck,unconvert,wastedassign
.ONESHELL:
.PHONY: RPM