Skip to content

Commit f6e8990

Browse files
committed
Add a preset to the intrange linter
1 parent 4e53f51 commit f6e8990

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)