-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
Using rewrite rules with gofumpt #275
Comments
Correct, there isn't a
Also note that our README says:
I think that still holds true; at least in my head, rewrite rules have little to do with canonical formatting like In any case, I'm happy to get input on better ways to document both of these aspects :) |
I guess in the end such "rewrites" are the job of a linter's autofix, e.g. I still hope a better go linter arises, golangci really pales in comparision to what other linters can do. |
I'm going to close this then, as it seems like the misunderstanding is solved. Still happy to receive suggestions in terms of better wording - in that case please send a PR. |
I would like to rewrite
interface{}
toany
, but the docs seem unclear about rewrite rules:What does this statement mean? Does one need to run
gofmt
beforegofumpt
to be able to use rewrite rules? A docs clarification would be nice.Also, I wonder how a tool that is advertized as a "drop-in replacement" does not support all features of the tool it's meant to replace.
The text was updated successfully, but these errors were encountered: