We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cde964f commit 0ab533cCopy full SHA for 0ab533c
pkg/config/loader.go
@@ -322,6 +322,12 @@ func (l *Loader) handleDeprecation() error {
322
l.cfg.Output.Formats = f
323
}
324
325
+ l.handleLinterOptionDeprecations()
326
+
327
+ return nil
328
+}
329
330
+func (l *Loader) handleLinterOptionDeprecations() {
331
// Deprecated since v1.57.0,
332
// but it was unofficially deprecated since v1.19 (2019) (https://github.com/golangci/golangci-lint/pull/697).
333
if l.cfg.LintersSettings.Govet.CheckShadowing {
@@ -365,8 +371,6 @@ func (l *Loader) handleDeprecation() error {
365
371
if l.cfg.LintersSettings.Stylecheck.GoVersion != "" {
366
372
l.warn("The configuration option `linters.stylecheck.go` is deprecated, please use global `run.go`.")
367
373
368
-
369
- return nil
370
374
375
376
func (l *Loader) handleEnableOnlyOption() error {
0 commit comments