-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
rubocop -a
bug: Hash + comment
#1899
Comments
I'm considering a generic solution that stops any auto-correct from creating files with syntax errors in them. Is that a good idea or not? Are we hiding bugs if we do it like that? |
Errors are fine, I mean I found a couple in a large codebase and they were easy to fix . |
We'll probably hide the bugs this way (would you report a ticket for something that's not causing you problems?). I think the current model works just fine - if something's wrong we have to correct it. |
Good. I'll make a solution for this particular problem only. |
[Fix #1899] Mind comments when correcting braced hash
The following program:
converted to:
The text was updated successfully, but these errors were encountered: