-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
dev: standardization of the integration of formatters #5301
Conversation
0879174
to
dbce1f6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This is wonderful! Is there a cli flag or something to run just the set of formatters prior to all other linters? While gci, gofumpt are 100% reliable, we have found that the suggested fixes for some linters are less reliable. We don't bother to review formatter fixes, but we do want a human to check suggested fixes from other linters. |
@StevenACoffman Take a look to #5296 |
This standardizes the integration of formatters.
Side effect:
github.com/golangci/gofmt/goimports
from the modulegb.xjqchip.workers.dev/golangci/gofmt
is removed 🎉diff
binary is not used anymore 🎉 🎉Closes #3408
Closes #362
Other issues related to the usage of
diff
(on Windows):Related to #5296