-
Notifications
You must be signed in to change notification settings - Fork 87
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
Make corrections for detected problems #478
Comments
Yep, that's one of the options, perhaps even preferred one. |
Hi, @vladdu @deadtrickster. Getting elvis to auto-fix (or to recommend fixes) for the warnings it produces has been in our minds for quite a while but we never got around to actually implement it. Partially because sometimes elvis checks the source code directly, but others it checks the AST and many times a combination of both, so it easily loose track of the exact place in the source file where to apply the patch. |
I don't think it should be Implementing this in |
I agree with @jfacorro. |
I've got a question on the erlang/sourcer project about integrating the code formatter with elvis. erlang/sourcer#14
This falls in a gray zone, as I don't think the implementation would use any sourcer code, so it could just as well be part of elvis.
What is your opinion on this?
cc: @deadtrickster
The text was updated successfully, but these errors were encountered: