-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
intrange lacks a preset #4795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors. |
Hello, A preset can be added here: golangci-lint/pkg/lint/lintersdb/builder_linter.go Lines 508 to 511 in 4e53f51
The The preset can be "style" as you suggested. Note: your hack is a bit obsolete with the new deprecation cycle of the linters. |
But I still have to manually disable it / see a warning right?
I've created another PR modifying this #4797. Thanks! |
Welcome
Your feature request related to a problem? Please describe
intrange
is the only linter that's not a part of a preset.I'm using presets to be able to enable all linters and automatically deal with new and deprecated linters, but after adding all the available presets, the
intrage
linter is still disabled.Describe the solution you'd like
intrange is added to one or more presets
Describe alternatives you've considered
enabling it specifically, but since it's the only one, that's weird.
Additional context
No response
Supporter
The text was updated successfully, but these errors were encountered: