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 <ldez@users.noreply.github.com>
  • 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.