Skip to content

Commit

Permalink
intrange: add style preset (#4797)
Browse files Browse the repository at this point in the history
  • Loading branch information
Inuart authored Jun 6, 2024
1 parent 4e53f51 commit 02740ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/lint/lintersdb/builder_linter.go
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {

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

Expand Down

0 comments on commit 02740ea

Please sign in to comment.