Skip to content

Commit 02740ea

Browse files
authored
intrange: add style preset (#4797)
1 parent 4e53f51 commit 02740ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/lint/lintersdb/builder_linter.go

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

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

0 commit comments

Comments
 (0)