Skip to content

Commit a610d02

Browse files
chokoswitchSeigeC
authored andcommitted
build(deps): bump github.com/curioswitch/go-reassign v0.1.2 to v0.2.0 (golangci#3234)
1 parent 3a4ae46 commit a610d02

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/golinters/reassign.go

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 0 deletions
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)