@@ -419,8 +419,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
419
419
WithLoadForGoAnalysis ().
420
420
WithPresets (linter .PresetStyle ).
421
421
WithAlternativeNames (megacheckName ).
422
- WithURL ("https://github.com/dominikh/go-tools/tree/master/simple" ).
423
- WithNoopFallback (m .cfg ),
422
+ WithURL ("https://github.com/dominikh/go-tools/tree/master/simple" ),
424
423
425
424
linter .NewConfig (golinters .NewGovet (govetCfg )).
426
425
WithSince ("v1.0.0" ).
@@ -484,7 +483,8 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
484
483
WithLoadForGoAnalysis ().
485
484
WithPresets (linter .PresetPerformance ).
486
485
WithURL ("https://github.com/mdempsky/maligned" ).
487
- Deprecated ("The repository of the linter has been archived by the owner." , "v1.38.0" , "govet 'fieldalignment'" ),
486
+ Deprecated ("The repository of the linter has been archived by the owner." , "v1.38.0" ,
487
+ "govet 'fieldalignment'" ),
488
488
489
489
linter .NewConfig (golinters .NewMisspell ()).
490
490
WithSince ("v1.8.0" ).
@@ -578,8 +578,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
578
578
WithLoadForGoAnalysis ().
579
579
WithPresets (linter .PresetBugs , linter .PresetMetaLinter ).
580
580
WithAlternativeNames (megacheckName ).
581
- WithURL ("https://staticcheck.io/" ).
582
- WithNoopFallback (m .cfg ),
581
+ WithURL ("https://staticcheck.io/" ),
583
582
584
583
linter .NewConfig (golinters .NewStructcheck ()).
585
584
WithSince ("v1.0.0" ).
@@ -592,8 +591,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
592
591
WithSince ("v1.20.0" ).
593
592
WithLoadForGoAnalysis ().
594
593
WithPresets (linter .PresetStyle ).
595
- WithURL ("https://github.com/dominikh/go-tools/tree/master/stylecheck" ).
596
- WithNoopFallback (m .cfg ),
594
+ WithURL ("https://github.com/dominikh/go-tools/tree/master/stylecheck" ),
597
595
598
596
linter .NewConfig (golinters .NewTagliatelle (tagliatelleCfg )).
599
597
WithSince ("v1.40.0" ).
@@ -650,8 +648,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
650
648
WithAlternativeNames (megacheckName ).
651
649
ConsiderSlow ().
652
650
WithChangeTypes ().
653
- WithURL ("https://github.com/dominikh/go-tools/tree/master/unused" ).
654
- WithNoopFallback (m .cfg ),
651
+ WithURL ("https://github.com/dominikh/go-tools/tree/master/unused" ),
655
652
656
653
linter .NewConfig (golinters .NewVarcheck ()).
657
654
WithSince ("v1.0.0" ).
@@ -783,7 +780,8 @@ func (m Manager) getAnalyzerPlugin(path string) (AnalyzerPlugin, error) {
783
780
configFilePath := viper .ConfigFileUsed ()
784
781
absConfigFilePath , err := filepath .Abs (configFilePath )
785
782
if err != nil {
786
- return nil , fmt .Errorf ("could not get absolute representation of config file path %q: %v" , configFilePath , err )
783
+ return nil , fmt .Errorf ("could not get absolute representation of config file path %q: %v" , configFilePath ,
784
+ err )
787
785
}
788
786
path = filepath .Join (filepath .Dir (absConfigFilePath ), path )
789
787
}
0 commit comments