@@ -15,39 +15,47 @@ const EnvTestRun = "GL_TEST_RUN"
1515// - Some analysis details: `GL_DEBUG=goanalysis/analyze,goanalysis/facts golangci-lint run`
1616const envDebug = "GL_DEBUG"
1717
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.
1844const (
1945 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.
2546 DebugKeyExcludeRules = "exclude_rules"
26- DebugKeyExec = "exec"
2747 DebugKeyFilenameUnadjuster = "filename_unadjuster"
28- DebugKeyFormatter = "formatter"
29- DebugKeyGoEnv = "goenv"
3048 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).
3649 DebugKeyMaxFromLinter = "max_from_linter"
3750 DebugKeyMaxSameIssues = "max_same_issues"
3851 DebugKeyPathAbsoluter = "path_absoluter"
3952 DebugKeyPathPrettifier = "path_prettifier"
40- DebugKeyPkgCache = "pkgcache"
41- DebugKeyRunner = "runner"
4253 DebugKeySeverityRules = "severity_rules"
4354 DebugKeySkipDirs = "skip_dirs"
4455 DebugKeySourceCode = "source_code"
45- DebugKeyStopwatch = "stopwatch"
46- DebugKeyTabPrinter = "tab_printer"
47- DebugKeyTest = "test"
48- DebugKeyTextPrinter = "text_printer"
4956)
5057
58+ // Analysis.
5159const (
5260 DebugKeyGoAnalysis = "goanalysis"
5361
@@ -61,6 +69,7 @@ const (
6169 DebugKeyGoAnalysisFactsInherit = DebugKeyGoAnalysisFacts + "/inherit"
6270)
6371
72+ // Linters.
6473const (
6574 DebugKeyForbidigo = "forbidigo" // Debugs `forbidigo` linter.
6675 DebugKeyGoCritic = "gocritic" // Debugs `gocritic` linter.
0 commit comments