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
Update Layout/HashAlignment
to use ignore_implicit
#216
Comments
Ok, maybe not. I changed this setting and these were the results:
which corrected to:
which is not ideal.
I think we'd need a new rubocop option in order to fully fix this. TBD on what that should be. |
Gonna unassign this in case someone else feels like taking this on in the meantime :) |
This PR makes `Layout/ArgumentAlignment` aware of kwargs and fixes standardrb/standard#216.
This looks like a false negative for |
This PR makes `Layout/ArgumentAlignment` aware of kwargs and fixes standardrb/standard#216.
And it's already merged! You're amazing, @koic! |
Right now, if key value pairs are sent as arguments, we are reading it as a hash, not arguments, and treating it as such. That means we get formatting like this:
when what we want is:
The text was updated successfully, but these errors were encountered: