@@ -161,7 +161,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
161
161
WithSince ("v1.58.0" ).
162
162
WithPresets (linter .PresetStyle ).
163
163
WithLoadForGoAnalysis ().
164
- WithURL ("https://github.com/lasiar/canonicalHeader " ),
164
+ WithURL ("https://github.com/lasiar/canonicalheader " ),
165
165
166
166
linter .NewConfig (containedctx .New ()).
167
167
WithSince ("v1.44.0" ).
@@ -183,7 +183,6 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
183
183
184
184
linter .NewConfig (cyclop .New (& cfg .LintersSettings .Cyclop )).
185
185
WithSince ("v1.37.0" ).
186
- WithLoadForGoAnalysis ().
187
186
WithPresets (linter .PresetComplexity ).
188
187
WithURL ("https://github.com/bkielbasa/cyclop" ),
189
188
@@ -194,7 +193,6 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
194
193
195
194
linter .NewConfig (linter .NewNoopDeprecated ("deadcode" , cfg , linter .DeprecationError )).
196
195
WithSince ("v1.0.0" ).
197
- WithLoadForGoAnalysis ().
198
196
WithPresets (linter .PresetUnused ).
199
197
WithURL ("https://github.com/remyoudompheng/go-misc/tree/master/deadcode" ).
200
198
DeprecatedError ("The owner seems to have abandoned the linter." , "v1.49.0" , "unused" ),
@@ -253,7 +251,6 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
253
251
linter .NewConfig (linter .NewNoopDeprecated ("execinquery" , cfg , linter .DeprecationError )).
254
252
WithSince ("v1.46.0" ).
255
253
WithPresets (linter .PresetSQL ).
256
- WithLoadForGoAnalysis ().
257
254
WithURL ("https://github.com/1uf3/execinquery" ).
258
255
DeprecatedError ("The repository of the linter has been archived by the owner." , "v1.58.0" , "" ),
259
256
@@ -266,7 +263,6 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
266
263
linter .NewConfig (linter .NewNoopDeprecated ("exhaustivestruct" , cfg , linter .DeprecationError )).
267
264
WithSince ("v1.32.0" ).
268
265
WithPresets (linter .PresetStyle , linter .PresetTest ).
269
- WithLoadForGoAnalysis ().
270
266
WithURL ("https://github.com/mbilski/exhaustivestruct" ).
271
267
DeprecatedError ("The repository of the linter has been deprecated by the owner." , "v1.46.0" , "exhaustruct" ),
272
268
@@ -408,7 +404,6 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
408
404
409
405
linter .NewConfig (linter .NewNoopDeprecated ("golint" , cfg , linter .DeprecationError )).
410
406
WithSince ("v1.0.0" ).
411
- WithLoadForGoAnalysis ().
412
407
WithPresets (linter .PresetStyle ).
413
408
WithURL ("https://github.com/golang/lint" ).
414
409
DeprecatedError ("The repository of the linter has been archived by the owner." , "v1.41.0" , "revive" ),
@@ -509,7 +504,6 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
509
504
510
505
linter .NewConfig (linter .NewNoopDeprecated ("interfacer" , cfg , linter .DeprecationError )).
511
506
WithSince ("v1.0.0" ).
512
- WithLoadForGoAnalysis ().
513
507
WithPresets (linter .PresetStyle ).
514
508
WithURL ("https://github.com/mvdan/interfacer" ).
515
509
DeprecatedError ("The repository of the linter has been archived by the owner." , "v1.38.0" , "" ),
@@ -551,7 +545,6 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
551
545
552
546
linter .NewConfig (linter .NewNoopDeprecated ("maligned" , cfg , linter .DeprecationError )).
553
547
WithSince ("v1.0.0" ).
554
- WithLoadForGoAnalysis ().
555
548
WithPresets (linter .PresetPerformance ).
556
549
WithURL ("https://github.com/mdempsky/maligned" ).
557
550
DeprecatedError ("The repository of the linter has been archived by the owner." , "v1.38.0" , "govet 'fieldalignment'" ),
@@ -717,7 +710,6 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
717
710
718
711
linter .NewConfig (linter .NewNoopDeprecated ("structcheck" , cfg , linter .DeprecationError )).
719
712
WithSince ("v1.0.0" ).
720
- WithLoadForGoAnalysis ().
721
713
WithPresets (linter .PresetUnused ).
722
714
WithURL ("https://github.com/opennota/check" ).
723
715
DeprecatedError ("The owner seems to have abandoned the linter." , "v1.49.0" , "unused" ),
@@ -814,7 +806,6 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
814
806
815
807
linter .NewConfig (linter .NewNoopDeprecated ("varcheck" , cfg , linter .DeprecationError )).
816
808
WithSince ("v1.0.0" ).
817
- WithLoadForGoAnalysis ().
818
809
WithPresets (linter .PresetUnused ).
819
810
WithURL ("https://github.com/opennota/check" ).
820
811
DeprecatedError ("The owner seems to have abandoned the linter." , "v1.49.0" , "unused" ),
0 commit comments