@@ -190,12 +190,12 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
190190 WithPresets (linter .PresetFormatting , linter .PresetStyle ).
191191 WithURL ("https://gitlab.com/bosi/decorder" ),
192192
193- linter .NewConfig (linter .NewNoopDeprecated ("deadcode" , cfg )).
193+ linter .NewConfig (linter .NewNoopDeprecated ("deadcode" , cfg , linter . DeprecationError )).
194194 WithSince ("v1.0.0" ).
195195 WithLoadForGoAnalysis ().
196196 WithPresets (linter .PresetUnused ).
197197 WithURL ("https://github.com/remyoudompheng/go-misc/tree/master/deadcode" ).
198- Deprecated ("The owner seems to have abandoned the linter." , "v1.49.0" , "unused" ),
198+ DeprecatedError ("The owner seems to have abandoned the linter." , "v1.49.0" , "unused" ),
199199
200200 linter .NewConfig (depguard .New (& cfg .LintersSettings .Depguard )).
201201 WithSince ("v1.4.0" ).
@@ -253,20 +253,20 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
253253 WithPresets (linter .PresetSQL ).
254254 WithLoadForGoAnalysis ().
255255 WithURL ("https://github.com/1uf3/execinquery" ).
256- Deprecated ("The repository of the linter has been archived by the owner." , "v1.58.0" , "" ),
256+ DeprecatedWarning ("The repository of the linter has been archived by the owner." , "v1.58.0" , "" ),
257257
258258 linter .NewConfig (exhaustive .New (& cfg .LintersSettings .Exhaustive )).
259259 WithSince (" v1.28.0" ).
260260 WithPresets (linter .PresetBugs ).
261261 WithLoadForGoAnalysis ().
262262 WithURL ("https://github.com/nishanths/exhaustive" ),
263263
264- linter .NewConfig (linter .NewNoopDeprecated ("exhaustivestruct" , cfg )).
264+ linter .NewConfig (linter .NewNoopDeprecated ("exhaustivestruct" , cfg , linter . DeprecationError )).
265265 WithSince ("v1.32.0" ).
266266 WithPresets (linter .PresetStyle , linter .PresetTest ).
267267 WithLoadForGoAnalysis ().
268268 WithURL ("https://github.com/mbilski/exhaustivestruct" ).
269- Deprecated ("The repository of the linter has been deprecated by the owner." , "v1.46.0" , "exhaustruct" ),
269+ DeprecatedError ("The repository of the linter has been deprecated by the owner." , "v1.46.0" , "exhaustruct" ),
270270
271271 linter .NewConfig (exhaustruct .New (& cfg .LintersSettings .Exhaustruct )).
272272 WithSince ("v1.46.0" ).
@@ -403,12 +403,12 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
403403 WithAutoFix ().
404404 WithURL ("https://pkg.go.dev/golang.org/x/tools/cmd/goimports" ),
405405
406- linter .NewConfig (linter .NewNoopDeprecated ("golint" , cfg )).
406+ linter .NewConfig (linter .NewNoopDeprecated ("golint" , cfg , linter . DeprecationError )).
407407 WithSince ("v1.0.0" ).
408408 WithLoadForGoAnalysis ().
409409 WithPresets (linter .PresetStyle ).
410410 WithURL ("https://github.com/golang/lint" ).
411- Deprecated ("The repository of the linter has been archived by the owner." , "v1.41.0" , "revive" ),
411+ DeprecatedError ("The repository of the linter has been archived by the owner." , "v1.41.0" , "revive" ),
412412
413413 linter .NewConfig (mnd .New (& cfg .LintersSettings .Mnd )).
414414 WithSince ("v1.22.0" ).
@@ -418,8 +418,8 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
418418 linter .NewConfig (mnd .NewGoMND (& cfg .LintersSettings .Gomnd )).
419419 WithSince ("v1.22.0" ).
420420 WithPresets (linter .PresetStyle ).
421- Deprecated ( "The linter has been renamed." , "v1.58.0" , " mnd" ).
422- WithURL ( "https://github.com/tommy-muehle/go- mnd" ),
421+ WithURL ( "https://github.com/tommy-muehle/go- mnd" ).
422+ DeprecatedWarning ( "The linter has been renamed." , "v1.58.0" , " mnd" ),
423423
424424 linter .NewConfig (gomoddirectives .New (& cfg .LintersSettings .GoModDirectives )).
425425 WithSince ("v1.39.0" ).
@@ -470,11 +470,11 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
470470 WithPresets (linter .PresetStyle ).
471471 WithURL ("https://github.com/leonklingele/grouper" ),
472472
473- linter .NewConfig (linter .NewNoopDeprecated ("ifshort" , cfg )).
473+ linter .NewConfig (linter .NewNoopDeprecated ("ifshort" , cfg , linter . DeprecationError )).
474474 WithSince ("v1.36.0" ).
475475 WithPresets (linter .PresetStyle ).
476476 WithURL ("https://github.com/esimonov/ifshort" ).
477- Deprecated ("The repository of the linter has been deprecated by the owner." , "v1.48.0" , "" ),
477+ DeprecatedError ("The repository of the linter has been deprecated by the owner." , "v1.48.0" , "" ),
478478
479479 linter .NewConfig (importas .New (& cfg .LintersSettings .ImportAs )).
480480 WithSince ("v1.38.0" ).
@@ -498,12 +498,12 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
498498 WithPresets (linter .PresetStyle ).
499499 WithURL ("https://github.com/sashamelentyev/interfacebloat" ),
500500
501- linter .NewConfig (linter .NewNoopDeprecated ("interfacer" , cfg )).
501+ linter .NewConfig (linter .NewNoopDeprecated ("interfacer" , cfg , linter . DeprecationError )).
502502 WithSince ("v1.0.0" ).
503503 WithLoadForGoAnalysis ().
504504 WithPresets (linter .PresetStyle ).
505505 WithURL ("https://github.com/mvdan/interfacer" ).
506- Deprecated ("The repository of the linter has been archived by the owner." , "v1.38.0" , "" ),
506+ DeprecatedError ("The repository of the linter has been archived by the owner." , "v1.38.0" , "" ),
507507
508508 linter .NewConfig (intrange .New ()).
509509 WithSince ("v1.57.0" ).
@@ -538,12 +538,12 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
538538 WithLoadForGoAnalysis ().
539539 WithURL ("https://github.com/ashanbrown/makezero" ),
540540
541- linter .NewConfig (linter .NewNoopDeprecated ("maligned" , cfg )).
541+ linter .NewConfig (linter .NewNoopDeprecated ("maligned" , cfg , linter . DeprecationError )).
542542 WithSince ("v1.0.0" ).
543543 WithLoadForGoAnalysis ().
544544 WithPresets (linter .PresetPerformance ).
545545 WithURL ("https://github.com/mdempsky/maligned" ).
546- Deprecated ("The repository of the linter has been archived by the owner." , "v1.38.0" , "govet 'fieldalignment'" ),
546+ DeprecatedError ("The repository of the linter has been archived by the owner." , "v1.38.0" , "govet 'fieldalignment'" ),
547547
548548 linter .NewConfig (mirror .New ()).
549549 WithSince ("v1.53.0" ).
@@ -603,11 +603,11 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
603603 WithPresets (linter .PresetStyle ).
604604 WithURL ("https://github.com/firefart/nonamedreturns" ),
605605
606- linter .NewConfig (linter .NewNoopDeprecated ("nosnakecase" , cfg )).
606+ linter .NewConfig (linter .NewNoopDeprecated ("nosnakecase" , cfg , linter . DeprecationError )).
607607 WithSince ("v1.47.0" ).
608608 WithPresets (linter .PresetStyle ).
609609 WithURL ("https://github.com/sivchari/nosnakecase" ).
610- Deprecated ("The repository of the linter has been deprecated by the owner." , "v1.48.1" , "revive 'var-naming'" ),
610+ DeprecatedError ("The repository of the linter has been deprecated by the owner." , "v1.48.1" , "revive 'var-naming'" ),
611611
612612 linter .NewConfig (nosprintfhostport .New ()).
613613 WithSince ("v1.46.0" ).
@@ -672,11 +672,11 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
672672 WithPresets (linter .PresetStyle , linter .PresetFormatting ).
673673 WithURL ("https://github.com/go-simpler/sloglint" ),
674674
675- linter .NewConfig (linter .NewNoopDeprecated ("scopelint" , cfg )).
675+ linter .NewConfig (linter .NewNoopDeprecated ("scopelint" , cfg , linter . DeprecationError )).
676676 WithSince ("v1.12.0" ).
677677 WithPresets (linter .PresetBugs ).
678678 WithURL ("https://github.com/kyoh86/scopelint" ).
679- Deprecated ("The repository of the linter has been deprecated by the owner." , "v1.39.0" , "exportloopref" ),
679+ DeprecatedError ("The repository of the linter has been deprecated by the owner." , "v1.39.0" , "exportloopref" ),
680680
681681 linter .NewConfig (sqlclosecheck .New ()).
682682 WithSince ("v1.28.0" ).
@@ -698,12 +698,12 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
698698 WithAlternativeNames (megacheckName ).
699699 WithURL ("https://staticcheck.io/" ),
700700
701- linter .NewConfig (linter .NewNoopDeprecated ("structcheck" , cfg )).
701+ linter .NewConfig (linter .NewNoopDeprecated ("structcheck" , cfg , linter . DeprecationError )).
702702 WithSince ("v1.0.0" ).
703703 WithLoadForGoAnalysis ().
704704 WithPresets (linter .PresetUnused ).
705705 WithURL ("https://github.com/opennota/check" ).
706- Deprecated ("The owner seems to have abandoned the linter." , "v1.49.0" , "unused" ),
706+ DeprecatedError ("The owner seems to have abandoned the linter." , "v1.49.0" , "unused" ),
707707
708708 linter .NewConfig (stylecheck .New (& cfg .LintersSettings .Stylecheck )).
709709 WithSince ("v1.20.0" ).
@@ -788,12 +788,12 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
788788 WithPresets (linter .PresetStyle ).
789789 WithURL ("https://github.com/sashamelentyev/usestdlibvars" ),
790790
791- linter .NewConfig (linter .NewNoopDeprecated ("varcheck" , cfg )).
791+ linter .NewConfig (linter .NewNoopDeprecated ("varcheck" , cfg , linter . DeprecationError )).
792792 WithSince ("v1.0.0" ).
793793 WithLoadForGoAnalysis ().
794794 WithPresets (linter .PresetUnused ).
795795 WithURL ("https://github.com/opennota/check" ).
796- Deprecated ("The owner seems to have abandoned the linter." , "v1.49.0" , "unused" ),
796+ DeprecatedError ("The owner seems to have abandoned the linter." , "v1.49.0" , "unused" ),
797797
798798 linter .NewConfig (varnamelen .New (& cfg .LintersSettings .Varnamelen )).
799799 WithSince ("v1.43.0" ).
0 commit comments