golangci-lint icon indicating copy to clipboard operation
golangci-lint copied to clipboard

private linter support for autofix

Open ashanbrown opened this issue 3 years ago • 2 comments

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.

ashanbrown avatar Feb 13 '22 14:02 ashanbrown

Related to #1779

ldez avatar Feb 13 '22 14:02 ldez

I didn't realize that we weren't ready to apply SuggestedFixes. LMK if I can help.

ashanbrown avatar Feb 13 '22 14:02 ashanbrown

duplicate of #1728

ldez avatar Jun 04 '23 12:06 ldez