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
Layout/SpaceInsideArrayLiteralBrackets should correct empty lines #7509
Comments
Same issue here, a different proposal though: #5585 |
I'm trying to create a PR to fix this bug... but if anybody can, that'd be very helpful. |
@ayacai115 This seems to do the trick: master...buehmann:empty-array-literal/7509 – Could you take it from there? We need a spec for this case and a changelog entry for a full PR. |
@buehmann Great! I'll add a spec and a changelog entry. |
8 tasks
ayacai115
pushed a commit
to ayacai115/rubocop
that referenced
this issue
Nov 18, 2019
I created a PR: #7511 |
koic
added a commit
that referenced
this issue
Nov 20, 2019
…ayLiteralBrackets [Fix #7509] Layout/SpaceInsideArrayLiteralBrackets to correct empty lines
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
When I
rubocop -a
, rubocop corrects the empty line.Actual behavior
When I
rubocop -a
...But it's not actually corrected and I keep getting this message.
I think this is a bug.
Steps to reproduce the problem
But it's not corrected and I get the same message again.
RuboCop version
The text was updated successfully, but these errors were encountered: