intrange: add style preset (#4797)
This commit is contained in:
parent
4e53f51c4e
commit
02740ea1b7
@ -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()),
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user