Skip to content

Commit 48251f2

Browse files
build(deps): bump github.com/ckaznocha/intrange from 0.1.2 to 0.2.0 (#4996)
Co-authored-by: Fernandez Ludovic <[email protected]>
1 parent bfc5247 commit 48251f2

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
@@ -30,7 +30,7 @@ require (
3030
github.com/butuzov/mirror v1.2.0
3131
github.com/catenacyber/perfsprint v0.7.1
3232
github.com/charithe/durationcheck v0.0.10
33-
github.com/ckaznocha/intrange v0.1.2
33+
github.com/ckaznocha/intrange v0.2.0
3434
github.com/curioswitch/go-reassign v0.2.0
3535
github.com/daixiang0/gci v0.13.5
3636
github.com/denis-tingaikin/go-header v0.5.0

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/intrange/intrange.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ func New() *goanalysis.Linter {
1515
a.Doc,
1616
[]*analysis.Analyzer{a},
1717
nil,
18-
).WithLoadMode(goanalysis.LoadModeSyntax)
18+
).WithLoadMode(goanalysis.LoadModeTypesInfo)
1919
}

pkg/lint/lintersdb/builder_linter.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
508508

509509
linter.NewConfig(intrange.New()).
510510
WithSince("v1.57.0").
511+
WithLoadForGoAnalysis().
511512
WithPresets(linter.PresetStyle).
512513
WithURL("https://github.com/ckaznocha/intrange").
513514
WithNoopFallback(cfg, linter.IsGoLowerThanGo122()),

0 commit comments

Comments
 (0)