Skip to content

Commit 937e3d4

Browse files
authored
build(deps): bump github.com/curioswitch/go-reassign v0.1.2 to v0.2.0 (#3234)
1 parent 05c3af1 commit 937e3d4

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ require (
2222
github.com/breml/errchkjson v0.3.0
2323
github.com/butuzov/ireturn v0.1.1
2424
github.com/charithe/durationcheck v0.0.9
25-
github.com/curioswitch/go-reassign v0.1.2
25+
github.com/curioswitch/go-reassign v0.2.0
2626
github.com/daixiang0/gci v0.7.0
2727
github.com/denis-tingaikin/go-header v0.4.3
2828
github.com/esimonov/ifshort v1.0.4

go.sum

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/golinters/reassign.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ func NewReassign(settings *config.ReassignSettings) *goanalysis.Linter {
2828
a.Doc,
2929
[]*analysis.Analyzer{a},
3030
cfg,
31-
).WithLoadMode(goanalysis.LoadModeSyntax)
31+
).WithLoadMode(goanalysis.LoadModeTypesInfo)
3232
}

pkg/lint/lintersdb/manager.go

+1
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
698698
linter.NewConfig(golinters.NewReassign(reassignCfg)).
699699
WithSince("1.49.0").
700700
WithPresets(linter.PresetBugs).
701+
WithLoadForGoAnalysis().
701702
WithURL("https://github.com/curioswitch/go-reassign"),
702703

703704
linter.NewConfig(golinters.NewRevive(reviveCfg)).

0 commit comments

Comments
 (0)