We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b277ca3 commit d531bd6Copy full SHA for d531bd6
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 {
@@ -369,8 +375,6 @@ func (l *Loader) handleDeprecation() error {
369
375
if l.cfg.LintersSettings.Stylecheck.GoVersion != "" {
370
376
l.warn("The configuration option `linters.stylecheck.go` is deprecated, please use global `run.go`.")
371
377
372
-
373
- return nil
374
378
379
380
func (l *Loader) handleEnableOnlyOption() error {
0 commit comments