golangci-lint
golangci-lint copied to clipboard
private linter support for autofix
Your feature request related to a problem? Please describe.
Private linters can't enable autofix
Describe the solution you'd like.
A way to set autofix, and really all config settings for a custom linter. A custom linter is also currently assumed to be fast and to need typo info. Is there any reason we can't expose these controls in the custom linter setting?
Describe alternatives you've considered.
Running my custom linter outside of golangci lint.
Additional context.
See the code for where we set up custom linters.
Related to #1779
I didn't realize that we weren't ready to apply SuggestedFixes
. LMK if I can help.
duplicate of #1728