golangci-lint-action
golangci-lint-action copied to clipboard
Ability to make suggested changes on a PR
Really appreciating this action, and it's ability to annotate PRs.
For many of the lint / vet rules, I think there are somewhat straightforward fixes. It would be awesome if this action could make suggested changes when possible (https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/incorporating-feedback-in-your-pull-request). Is this at all feasible?
Once #5 is tackled, we can do this one. As suggesttion changes based on my understanding is just comment with suggestion
block
Just a note on this that not all linters are giving suggestion
to correct error.
That makes sense.
I think the suggestion
UX is such a paradigm shift that could really improve adoption of linters, and would love to see those that don't currently support it think about what they could do (understanding that there are technical limitations). Thanks for the response, I might have some time to contribute in the near future. Please keep me posted!