Skip to content

Commit

Permalink
build(deps): bump github.com/ckaznocha/intrange from 0.1.2 to 0.2.0 (#…
Browse files Browse the repository at this point in the history
…4996)

Co-authored-by: Fernandez Ludovic <[email protected]>
  • Loading branch information
dependabot[bot] and ldez authored Sep 9, 2024
1 parent bfc5247 commit 48251f2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ require (
github.com/butuzov/mirror v1.2.0
github.com/catenacyber/perfsprint v0.7.1
github.com/charithe/durationcheck v0.0.10
github.com/ckaznocha/intrange v0.1.2
github.com/ckaznocha/intrange v0.2.0
github.com/curioswitch/go-reassign v0.2.0
github.com/daixiang0/gci v0.13.5
github.com/denis-tingaikin/go-header v0.5.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/golinters/intrange/intrange.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ func New() *goanalysis.Linter {
a.Doc,
[]*analysis.Analyzer{a},
nil,
).WithLoadMode(goanalysis.LoadModeSyntax)
).WithLoadMode(goanalysis.LoadModeTypesInfo)
}
1 change: 1 addition & 0 deletions pkg/lint/lintersdb/builder_linter.go
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {

linter.NewConfig(intrange.New()).
WithSince("v1.57.0").
WithLoadForGoAnalysis().
WithPresets(linter.PresetStyle).
WithURL("https://github.com/ckaznocha/intrange").
WithNoopFallback(cfg, linter.IsGoLowerThanGo122()),
Expand Down

0 comments on commit 48251f2

Please sign in to comment.