@@ -15,39 +15,47 @@ const EnvTestRun = "GL_TEST_RUN"
15
15
// - Some analysis details: `GL_DEBUG=goanalysis/analyze,goanalysis/facts golangci-lint run`
16
16
const envDebug = "GL_DEBUG"
17
17
18
+ const (
19
+ DebugKeyBinSalt = "bin_salt"
20
+ DebugKeyConfigReader = "config_reader"
21
+ DebugKeyEmpty = ""
22
+ DebugKeyEnabledLinters = "enabled_linters"
23
+ DebugKeyExec = "exec"
24
+ DebugKeyFormatter = "formatter"
25
+ DebugKeyGoEnv = "goenv"
26
+ DebugKeyLinter = "linter"
27
+ DebugKeyLintersContext = "linters_context"
28
+ DebugKeyLintersDB = "lintersdb"
29
+ DebugKeyLintersOutput = "linters_output"
30
+ DebugKeyLoader = "loader" // Debugs packages loading (including `go/packages` internal debugging).
31
+ DebugKeyPkgCache = "pkgcache"
32
+ DebugKeyRunner = "runner"
33
+ DebugKeyStopwatch = "stopwatch"
34
+ DebugKeyTest = "test"
35
+ )
36
+
37
+ // Printers.
38
+ const (
39
+ DebugKeyTabPrinter = "tab_printer"
40
+ DebugKeyTextPrinter = "text_printer"
41
+ )
42
+
43
+ // Processors.
18
44
const (
19
45
DebugKeyAutogenExclude = "autogen_exclude" // Debugs a filter excluding autogenerated source code.
20
- DebugKeyBinSalt = "bin_salt"
21
- DebugKeyConfigReader = "config_reader"
22
- DebugKeyEmpty = ""
23
- DebugKeyEnabledLinters = "enabled_linters"
24
- DebugKeyEnv = "env" // Debugs `go env` command.
25
46
DebugKeyExcludeRules = "exclude_rules"
26
- DebugKeyExec = "exec"
27
47
DebugKeyFilenameUnadjuster = "filename_unadjuster"
28
- DebugKeyFormatter = "formatter"
29
- DebugKeyGoEnv = "goenv"
30
48
DebugKeyInvalidIssue = "invalid_issue"
31
- DebugKeyLinter = "linter"
32
- DebugKeyLintersContext = "linters_context"
33
- DebugKeyLintersDB = "lintersdb"
34
- DebugKeyLintersOutput = "linters_output"
35
- DebugKeyLoader = "loader" // Debugs packages loading (including `go/packages` internal debugging).
36
49
DebugKeyMaxFromLinter = "max_from_linter"
37
50
DebugKeyMaxSameIssues = "max_same_issues"
38
51
DebugKeyPathAbsoluter = "path_absoluter"
39
52
DebugKeyPathPrettifier = "path_prettifier"
40
- DebugKeyPkgCache = "pkgcache"
41
- DebugKeyRunner = "runner"
42
53
DebugKeySeverityRules = "severity_rules"
43
54
DebugKeySkipDirs = "skip_dirs"
44
55
DebugKeySourceCode = "source_code"
45
- DebugKeyStopwatch = "stopwatch"
46
- DebugKeyTabPrinter = "tab_printer"
47
- DebugKeyTest = "test"
48
- DebugKeyTextPrinter = "text_printer"
49
56
)
50
57
58
+ // Analysis.
51
59
const (
52
60
DebugKeyGoAnalysis = "goanalysis"
53
61
@@ -61,6 +69,7 @@ const (
61
69
DebugKeyGoAnalysisFactsInherit = DebugKeyGoAnalysisFacts + "/inherit"
62
70
)
63
71
72
+ // Linters.
64
73
const (
65
74
DebugKeyForbidigo = "forbidigo" // Debugs `forbidigo` linter.
66
75
DebugKeyGoCritic = "gocritic" // Debugs `gocritic` linter.
0 commit comments