-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
enhancementNew feature or improvementNew feature or improvement
Description
Welcome
- Yes, I've searched similar issues on GitHub and didn't find any.
- I agree to follow this project's Code of Conduct
How did you install golangci-lint?
go install
Your feature request related to a problem? Please describe
Users of golangci-lint sometimes have their preferred output formats configured in a golangci-lint configuration file (be it for personal preferences or required output for toolings, e.g. in CI). However, sometimes you just want to call golangci-lint without those preferred output formatters but just a single other formatted that satisfies the current needs.
Describe the solution you'd like
I think a command line flag to disable all configured formats in the config files in favor of the ones provided by the command line makes sense here.
Describe alternatives you've considered
Disabling all output formats manually, but that is not scalable and requires changes in scripts etc where that is used every time a new output format is added or removed.
Additional context
I've took a stab at this in #6273.
Supporter
- I am a sponsor through GitHub or OpenCollective
Metadata
Metadata
Assignees
Labels
enhancementNew feature or improvementNew feature or improvement