From 6e24585ec8c73549700b941e84624fa4c7d08a67 Mon Sep 17 00:00:00 2001 From: John Mears Date: Wed, 8 May 2024 13:26:55 -0600 Subject: [PATCH] golangci.yml: Removing inactivated linters Removing "inactivated" linters, which are causing lint checks to fail with: "This linter is fully inactivated: it will not produce any reports." The linters that have been removed are: - deadcode - golint - structcheck - varcheck Apparently these linters were "inactivated" in v1.57.0 https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md#v1570 --- .golangci.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 0fea100..18649da 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -11,8 +11,6 @@ linters-settings: - (github.com/golangci/golangci-lint/pkg/logutils.Log).Warnf - (github.com/golangci/golangci-lint/pkg/logutils.Log).Errorf - (github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf - golint: - min-confidence: 0 gocyclo: min-complexity: 10 maligned: @@ -57,19 +55,15 @@ linters: - ineffassign - stylecheck - misspell - - deadcode - staticcheck - - structcheck - unused - prealloc - typecheck - - varcheck # additional linters - bodyclose - gocritic - goerr113 - goimports - - golint - gomnd - misspell - noctx