-
Notifications
You must be signed in to change notification settings - Fork 209
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/DotPosition for config/ruby-1.8.yml #561
Comments
@searls Why did you disable the rule instead of enforcing |
Because leading dots is the designated Standard rule, and when it's not possible we won't enforce the opposite. I would not want to enable a rule enforcing the opposite for 1.8 only to enforce users churn to the opposite in 1.9. In general if a cop isn't supported in a version of Ruby, we will disable the cop rather than force people to change their code style again upon upgrade. |
But trailing is the only one that even works on 1.8, so the churn is unavoidable. If they have multi-line chains in a code base supporting Ruby 1.8 they must be using trailing dots. There is no other option but to churn.
This is not a valid argument in this case. |
But in
base.yml
we have:Thus we need to add the override in
config/ruby-1.8.yml
The text was updated successfully, but these errors were encountered: