Skip to content

Commit 4647f2f

Browse files
committed
chore: linting
1 parent 1fe1894 commit 4647f2f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pkg/config/loader.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -74,21 +74,21 @@ func (l *Loader) handleGoVersion() {
7474
l.cfg.LintersSettings.ParallelTest.Go = l.cfg.Run.Go
7575

7676
trimmedGoVersion := trimGoVersion(l.cfg.Run.Go)
77-
78-
l.cfg.LintersSettings.Gocritic.Go = trimmedGoVersion
77+
78+
l.cfg.LintersSettings.Gocritic.Go = trimmedGoVersion
7979
if l.cfg.LintersSettings.Gofumpt.LangVersion == "" {
8080
l.cfg.LintersSettings.Gofumpt.LangVersion = l.cfg.Run.Go
8181
}
8282

8383
// staticcheck related linters.
8484
if l.cfg.LintersSettings.Staticcheck.GoVersion == "" {
85-
l.cfg.LintersSettings.Staticcheck.GoVersion = trimmedGoVersion
85+
l.cfg.LintersSettings.Staticcheck.GoVersion = trimmedGoVersion
8686
}
8787
if l.cfg.LintersSettings.Gosimple.GoVersion == "" {
88-
l.cfg.LintersSettings.Gosimple.GoVersion = trimmedGoVersion
88+
l.cfg.LintersSettings.Gosimple.GoVersion = trimmedGoVersion
8989
}
9090
if l.cfg.LintersSettings.Stylecheck.GoVersion != "" {
91-
l.cfg.LintersSettings.Stylecheck.GoVersion = trimmedGoVersion
91+
l.cfg.LintersSettings.Stylecheck.GoVersion = trimmedGoVersion
9292
}
9393
}
9494

0 commit comments

Comments
 (0)