We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 852a237 commit d4f63a2Copy full SHA for d4f63a2
pkg/config/loader.go
@@ -94,13 +94,14 @@ func (l *Loader) handleGoVersion() {
94
95
l.cfg.LintersSettings.ParallelTest.Go = l.cfg.Run.Go
96
97
- trimmedGoVersion := trimGoVersion(l.cfg.Run.Go)
98
-
99
- l.cfg.LintersSettings.Gocritic.Go = trimmedGoVersion
100
if l.cfg.LintersSettings.Gofumpt.LangVersion == "" {
101
l.cfg.LintersSettings.Gofumpt.LangVersion = l.cfg.Run.Go
102
}
103
+ trimmedGoVersion := trimGoVersion(l.cfg.Run.Go)
+
+ l.cfg.LintersSettings.Gocritic.Go = trimmedGoVersion
104
105
// staticcheck related linters.
106
if l.cfg.LintersSettings.Staticcheck.GoVersion == "" {
107
l.cfg.LintersSettings.Staticcheck.GoVersion = trimmedGoVersion
0 commit comments