@@ -13,12 +13,12 @@ import (
1313const envDebug = "GL_DEBUG"
1414
1515const (
16- DebugKeyAutogenExclude = "autogen_exclude"
16+ DebugKeyAutogenExclude = "autogen_exclude" // Debugs a filter excluding autogenerated source code.
1717 DebugKeyBinSalt = "bin_salt"
1818 DebugKeyConfigReader = "config_reader"
1919 DebugKeyEmpty = ""
2020 DebugKeyEnabledLinters = "enabled_linters"
21- DebugKeyEnv = "env"
21+ DebugKeyEnv = "env" // Debugs `go env` command.
2222 DebugKeyExcludeRules = "exclude_rules"
2323 DebugKeyExec = "exec"
2424 DebugKeyFilenameUnadjuster = "filename_unadjuster"
@@ -27,7 +27,7 @@ const (
2727 DebugKeyLintersContext = "linters_context"
2828 DebugKeyLintersDB = "lintersdb"
2929 DebugKeyLintersOutput = "linters_output"
30- DebugKeyLoader = "loader"
30+ DebugKeyLoader = "loader" // Debugs packages loading (including `go/packages` internal debugging).
3131 DebugKeyMaxFromLinter = "max_from_linter"
3232 DebugKeyMaxSameIssues = "max_same_issues"
3333 DebugKeyPkgCache = "pkgcache"
@@ -55,10 +55,10 @@ const (
5555)
5656
5757const (
58- DebugKeyGoCritic = "gocritic"
59- DebugKeyMegacheck = "megacheck"
60- DebugKeyNolint = "nolint"
61- DebugKeyRevive = "revive"
58+ DebugKeyGoCritic = "gocritic" // Debugs `go-critic` linter.
59+ DebugKeyMegacheck = "megacheck" // Debugs `staticcheck` related linters.
60+ DebugKeyNolint = "nolint" // Debugs a filter excluding issues by `//nolint` comments.
61+ DebugKeyRevive = "revive" // Debugs `revice` linter.
6262)
6363
6464func getEnabledDebugs () map [string ]bool {
0 commit comments