-
-
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
Style/IndentHash w/ consistent style is buggy? #1608
Comments
Such code is commonly indented as: options = {
:io => $stdout,
} Our beloved Emacs behaves like this as well. :-) |
Our beloved emacs does both. |
👍 for this style. I honestly use both depending on the situation (usually a gut feel on what looks better based on the contents of the hash) and dislike rubocop making me unindent the hash in those situations. |
👍 and same for arrays. Example in #1609. |
alexdowad
added a commit
to alexdowad/rubocop
that referenced
this issue
Nov 6, 2015
bbatsov
added a commit
that referenced
this issue
Nov 6, 2015
[Fix #1608] Add 'align_braces' style for Style/IndentHash
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Says this isn't indented correctly?
The text was updated successfully, but these errors were encountered: