File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,8 @@ import (
99 scconfig "honnef.co/go/tools/config"
1010
1111 "github.com/golangci/golangci-lint/pkg/config"
12- "github.com/golangci/golangci-lint/pkg/logutils"
1312)
1413
15- var debugf = logutils .Debug (logutils .DebugKeyMegacheck )
16-
1714func SetupStaticCheckAnalyzers (src []* lint.Analyzer , checks []string ) []* analysis.Analyzer {
1815 var names []string
1916 for _ , a := range src {
Original file line number Diff line number Diff line change @@ -60,11 +60,10 @@ const (
6060)
6161
6262const (
63- DebugKeyGoCritic = "gocritic" // Debugs `go-critic` linter.
64- DebugKeyGovet = "govet" // Debugs `govet` linter.
65- DebugKeyMegacheck = "megacheck" // Debugs `staticcheck` related linters.
66- DebugKeyNolint = "nolint" // Debugs a filter excluding issues by `//nolint` comments.
67- DebugKeyRevive = "revive" // Debugs `revive` linter.
63+ DebugKeyGoCritic = "gocritic" // Debugs `go-critic` linter.
64+ DebugKeyGovet = "govet" // Debugs `govet` linter.
65+ DebugKeyNolint = "nolint" // Debugs a filter excluding issues by `//nolint` comments.
66+ DebugKeyRevive = "revive" // Debugs `revive` linter.
6867)
6968
7069func getEnabledDebugs () map [string ]bool {
You can’t perform that action at this time.
0 commit comments