-
-
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
Indentation consistency in arrays and hashes #797
Comments
Indeed. @jonas054 would you take a look at this? |
Certainly. I think a couple of new cops are needed. We already have e = [
1, 2, 3,
4
] This is the style I get from my emacs settings, and it's been used quite a lot in the RuboCop source code. |
@jonas054 I think that style |
Oh. I feel I have been misled by Emacs for some time. Alright, I guess we don't need to make it configurable, then. |
Thank you. Benjamin
|
No pressure, but when will the be available in the gem? Do you have a patch/minor release planned? |
No specific date has been planned. I usually make a new feature release every 4-6 weeks. Expect a new version in the beginning of March. In the meantime you can build the gem from github manually. |
Consider the following example code:
Hash
b
and arrayd
are clearly mis-indented, but Rubocop doesn’t see any offences.The text was updated successfully, but these errors were encountered: