@@ -203,6 +203,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
203203 WithURL ("" ),
204204 linter .NewConfig (golinters .NewAsciicheck ()).
205205 WithPresets (linter .PresetBugs , linter .PresetStyle ).
206+ WithLoadForGoAnalysis ().
206207 WithURL ("https://github.com/tdakkota/asciicheck" ),
207208
208209 linter .NewConfig (golinters .NewGofmt ()).
@@ -306,6 +307,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
306307 WithURL ("https://github.com/nakabonne/nestif" ),
307308 linter .NewConfig (golinters .NewExportLoopRef ()).
308309 WithPresets (linter .PresetBugs ).
310+ WithLoadForGoAnalysis ().
309311 WithURL ("https://github.com/kyoh86/exportloopref" ),
310312 linter .NewConfig (golinters .NewExhaustive (exhaustiveCfg )).
311313 WithPresets (linter .PresetBugs ).
@@ -333,6 +335,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
333335 WithURL ("https://github.com/moricho/tparallel" ),
334336 linter .NewConfig (golinters .NewExhaustiveStruct ()).
335337 WithPresets (linter .PresetStyle ).
338+ WithLoadForGoAnalysis ().
336339 WithURL ("https://github.com/mbilski/exhaustivestruct" ),
337340 linter .NewConfig (golinters .NewErrorLint (errorlintCfg )).
338341 WithPresets (linter .PresetBugs ).
@@ -344,6 +347,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
344347 WithURL ("https://github.com/kunwardeep/paralleltest" ),
345348 linter .NewConfig (golinters .NewMakezero ()).
346349 WithPresets (linter .PresetStyle , linter .PresetBugs ).
350+ WithLoadForGoAnalysis ().
347351 WithURL ("https://github.com/ashanbrown/makezero" ),
348352 linter .NewConfig (golinters .NewForbidigo ()).
349353 WithPresets (linter .PresetStyle ).
0 commit comments