File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -74,21 +74,21 @@ func (l *Loader) handleGoVersion() {
74
74
l .cfg .LintersSettings .ParallelTest .Go = l .cfg .Run .Go
75
75
76
76
trimmedGoVersion := trimGoVersion (l .cfg .Run .Go )
77
-
78
- l .cfg .LintersSettings .Gocritic .Go = trimmedGoVersion
77
+
78
+ l .cfg .LintersSettings .Gocritic .Go = trimmedGoVersion
79
79
if l .cfg .LintersSettings .Gofumpt .LangVersion == "" {
80
80
l .cfg .LintersSettings .Gofumpt .LangVersion = l .cfg .Run .Go
81
81
}
82
82
83
83
// staticcheck related linters.
84
84
if l .cfg .LintersSettings .Staticcheck .GoVersion == "" {
85
- l .cfg .LintersSettings .Staticcheck .GoVersion = trimmedGoVersion
85
+ l .cfg .LintersSettings .Staticcheck .GoVersion = trimmedGoVersion
86
86
}
87
87
if l .cfg .LintersSettings .Gosimple .GoVersion == "" {
88
- l .cfg .LintersSettings .Gosimple .GoVersion = trimmedGoVersion
88
+ l .cfg .LintersSettings .Gosimple .GoVersion = trimmedGoVersion
89
89
}
90
90
if l .cfg .LintersSettings .Stylecheck .GoVersion != "" {
91
- l .cfg .LintersSettings .Stylecheck .GoVersion = trimmedGoVersion
91
+ l .cfg .LintersSettings .Stylecheck .GoVersion = trimmedGoVersion
92
92
}
93
93
}
94
94
You can’t perform that action at this time.
0 commit comments