@@ -199,7 +199,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
199
199
WithSince ("v1.0.0" ).
200
200
WithPresets (linter .PresetUnused ).
201
201
WithURL ("https://github.com/remyoudompheng/go-misc/tree/HEAD/deadcode" ).
202
- DeprecatedError ( "The owner seems to have abandoned the linter." , "v1.49.0" , "unused" ),
202
+ DeprecatedBecauseAbandoned ( "v1.49.0" , "unused" ),
203
203
204
204
linter .NewConfig (depguard .New (& cfg .LintersSettings .Depguard , cfg .GetBasePath ())).
205
205
WithSince ("v1.4.0" ).
@@ -258,7 +258,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
258
258
WithSince ("v1.46.0" ).
259
259
WithPresets (linter .PresetSQL ).
260
260
WithURL ("https://github.com/1uf3/execinquery" ).
261
- DeprecatedError ( "The repository of the linter has been archived by the owner." , "v1.58.0" , "" ),
261
+ DeprecatedBecauseArchived ( "v1.58.0" , "" ),
262
262
263
263
linter .NewConfig (exhaustive .New (& cfg .LintersSettings .Exhaustive )).
264
264
WithSince (" v1.28.0" ).
@@ -270,7 +270,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
270
270
WithSince ("v1.32.0" ).
271
271
WithPresets (linter .PresetStyle , linter .PresetTest ).
272
272
WithURL ("https://github.com/mbilski/exhaustivestruct" ).
273
- DeprecatedError ( "The repository of the linter has been deprecated by the owner." , "v1.46.0" , "exhaustruct" ),
273
+ DeprecatedBecauseArchived ( "v1.46.0" , "exhaustruct" ),
274
274
275
275
linter .NewConfig (exhaustruct .New (& cfg .LintersSettings .Exhaustruct )).
276
276
WithSince ("v1.46.0" ).
@@ -283,7 +283,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
283
283
WithPresets (linter .PresetBugs ).
284
284
WithLoadForGoAnalysis ().
285
285
WithURL ("https://github.com/kyoh86/exportloopref" ).
286
- DeprecatedWarning ("Since Go1 .22 (loopvar) this linter is no longer relevant." , "v1.60.2" , "copyloopvar" ),
286
+ DeprecatedWarning ("Since Go 1 .22 (loopvar) this linter is no longer relevant." , "v1.60.2" , "copyloopvar" ),
287
287
288
288
linter .NewConfig (exptostd .New ()).
289
289
WithSince ("v1.63.0" ).
@@ -422,7 +422,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
422
422
WithSince ("v1.0.0" ).
423
423
WithPresets (linter .PresetStyle ).
424
424
WithURL ("https://github.com/golang/lint" ).
425
- DeprecatedError ( "The repository of the linter has been archived by the owner." , "v1.41.0" , "revive" ),
425
+ DeprecatedBecauseArchived ( "v1.41.0" , "revive" ),
426
426
427
427
linter .NewConfig (mnd .New (& cfg .LintersSettings .Mnd )).
428
428
WithSince ("v1.22.0" ).
@@ -433,7 +433,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
433
433
WithSince ("v1.22.0" ).
434
434
WithPresets (linter .PresetStyle ).
435
435
WithURL ("https://github.com/tommy-muehle/go-mnd" ).
436
- DeprecatedError ( "The linter has been renamed." , "v1.58.0" , "mnd" ),
436
+ DeprecatedBecauseRenamed ( "v1.58.0" , "mnd" ),
437
437
438
438
linter .NewConfig (gomoddirectives .New (& cfg .LintersSettings .GoModDirectives )).
439
439
WithSince ("v1.39.0" ).
@@ -490,7 +490,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
490
490
WithSince ("v1.36.0" ).
491
491
WithPresets (linter .PresetStyle ).
492
492
WithURL ("https://github.com/esimonov/ifshort" ).
493
- DeprecatedError ( "The repository of the linter has been deprecated by the owner." , "v1.48.0" , "" ),
493
+ DeprecatedBecauseArchived ( "v1.48.0" , "" ),
494
494
495
495
linter .NewConfig (iface .New (& cfg .LintersSettings .Iface )).
496
496
WithSince ("v1.62.0" ).
@@ -526,7 +526,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
526
526
WithSince ("v1.0.0" ).
527
527
WithPresets (linter .PresetStyle ).
528
528
WithURL ("https://github.com/mvdan/interfacer" ).
529
- DeprecatedError ( "The repository of the linter has been archived by the owner." , "v1.38.0" , "" ),
529
+ DeprecatedBecauseArchived ( "v1.38.0" , "" ),
530
530
531
531
linter .NewConfig (intrange .New ()).
532
532
WithSince ("v1.57.0" ).
@@ -568,7 +568,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
568
568
WithSince ("v1.0.0" ).
569
569
WithPresets (linter .PresetPerformance ).
570
570
WithURL ("https://github.com/mdempsky/maligned" ).
571
- DeprecatedError ( "The repository of the linter has been archived by the owner." , "v1.38.0" , "govet 'fieldalignment'" ),
571
+ DeprecatedBecauseArchived ( "v1.38.0" , "govet 'fieldalignment'" ),
572
572
573
573
linter .NewConfig (mirror .New ()).
574
574
WithSince ("v1.53.0" ).
@@ -640,7 +640,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
640
640
WithSince ("v1.47.0" ).
641
641
WithPresets (linter .PresetStyle ).
642
642
WithURL ("https://github.com/sivchari/nosnakecase" ).
643
- DeprecatedError ( "The repository of the linter has been deprecated by the owner." , "v1.48.1" , "revive 'var-naming'" ),
643
+ DeprecatedBecauseArchived ( "v1.48.1" , "revive 'var-naming'" ),
644
644
645
645
linter .NewConfig (nosprintfhostport .New ()).
646
646
WithSince ("v1.46.0" ).
@@ -717,7 +717,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
717
717
WithSince ("v1.12.0" ).
718
718
WithPresets (linter .PresetBugs ).
719
719
WithURL ("https://github.com/kyoh86/scopelint" ).
720
- DeprecatedError ( "The repository of the linter has been deprecated by the owner." , "v1.39.0" , "exportloopref" ),
720
+ DeprecatedBecauseArchived ( "v1.39.0" , "exportloopref" ),
721
721
722
722
linter .NewConfig (sqlclosecheck .New ()).
723
723
WithSince ("v1.28.0" ).
@@ -744,7 +744,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
744
744
WithSince ("v1.0.0" ).
745
745
WithPresets (linter .PresetUnused ).
746
746
WithURL ("https://github.com/opennota/check" ).
747
- DeprecatedError ( "The owner seems to have abandoned the linter." , "v1.49.0" , "unused" ),
747
+ DeprecatedBecauseAbandoned ( "v1.49.0" , "unused" ),
748
748
749
749
linter .NewConfig (stylecheck .New (& cfg .LintersSettings .Stylecheck )).
750
750
WithSince ("v1.20.0" ).
@@ -770,7 +770,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
770
770
WithPresets (linter .PresetTest ).
771
771
WithLoadForGoAnalysis ().
772
772
WithURL ("https://github.com/sivchari/tenv" ).
773
- DeprecatedWarning ("Duplicate feature another linter." , "v1.64.0" , "usetesting" ),
773
+ DeprecatedWarning ("Duplicate feature in another linter." , "v1.64.0" , "usetesting" ),
774
774
775
775
linter .NewConfig (testableexamples .New ()).
776
776
WithSince ("v1.50.0" ).
@@ -845,7 +845,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
845
845
WithSince ("v1.0.0" ).
846
846
WithPresets (linter .PresetUnused ).
847
847
WithURL ("https://github.com/opennota/check" ).
848
- DeprecatedError ( "The owner seems to have abandoned the linter." , "v1.49.0" , "unused" ),
848
+ DeprecatedBecauseAbandoned ( "v1.49.0" , "unused" ),
849
849
850
850
linter .NewConfig (varnamelen .New (& cfg .LintersSettings .Varnamelen )).
851
851
WithSince ("v1.43.0" ).
0 commit comments