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 (
9
9
scconfig "honnef.co/go/tools/config"
10
10
11
11
"github.com/golangci/golangci-lint/pkg/config"
12
- "github.com/golangci/golangci-lint/pkg/logutils"
13
12
)
14
13
15
- var debugf = logutils .Debug (logutils .DebugKeyMegacheck )
16
-
17
14
func SetupStaticCheckAnalyzers (src []* lint.Analyzer , checks []string ) []* analysis.Analyzer {
18
15
var names []string
19
16
for _ , a := range src {
Original file line number Diff line number Diff line change @@ -60,11 +60,10 @@ const (
60
60
)
61
61
62
62
const (
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.
68
67
)
69
68
70
69
func getEnabledDebugs () map [string ]bool {
You can’t perform that action at this time.
0 commit comments