File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ func NewForbidigo(settings *config.ForbidigoSettings) *goanalysis.Linter {
47
47
nil ,
48
48
).WithIssuesReporter (func (* linter.Context ) []goanalysis.Issue {
49
49
return resIssues
50
- }).WithLoadMode (goanalysis .LoadModeSyntax )
50
+ }).WithLoadMode (goanalysis .LoadModeTypesInfo )
51
51
}
52
52
53
53
func runForbidigo (pass * analysis.Pass , settings * config.ForbidigoSettings ) ([]goanalysis.Issue , error ) {
Original file line number Diff line number Diff line change @@ -417,6 +417,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
417
417
linter .NewConfig (golinters .NewForbidigo (forbidigoCfg )).
418
418
WithSince ("v1.34.0" ).
419
419
WithPresets (linter .PresetStyle ).
420
+ WithLoadForGoAnalysis ().
420
421
WithURL ("https://github.com/ashanbrown/forbidigo" ),
421
422
422
423
linter .NewConfig (golinters .NewForceTypeAssert ()).
You can’t perform that action at this time.
0 commit comments