Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignored Layout/IndentationConsistency #63

Closed

Conversation

sue445
Copy link
Contributor

@sue445 sue445 commented Jun 26, 2019

Context

I upgraded to rubocop v0.72.0, rubocop is failed in onkcop

# Gemfile
gem "onkcop", require: false, github: "sue445/onkcop", branch: "rubocop_0.68.0" # c.f. https://github.com/onk/onkcop/pull/62
gem "rubocop", "0.72.0", require: false
$ bundle exec rubocop -P
Error: obsolete `EnforcedStyle: rails` (for Layout/IndentationConsistency) found in vendor/bundle/ruby/2.6.0/bundler/gems/onkcop-6256494c1f86/config/rubocop.yml
`EnforcedStyle: rails` has been renamed to `EnforcedStyle: indented_internal_methods`

Why?

EnforcedStyle: rails is renamed to EnforcedStyle: indented_internal_methods since rubocop v0.72.0

c.f. rubocop/rubocop#7163

So I ignored this.

Postscript

#62 is not merged yet.
So please merge quickly if no problem 馃檹

`EnforcedStyle: rails` is renamed to `EnforcedStyle: indented_internal_methods` since rubocop v0.72.0

```
$ bundle exec rubocop -P
Error: obsolete `EnforcedStyle: rails` (for Layout/IndentationConsistency) found in vendor/bundle/ruby/2.6.0/bundler/gems/onkcop-6256494c1f86/config/rubocop.yml
`EnforcedStyle: rails` has been renamed to `EnforcedStyle: indented_internal_methods`
```

c.f. rubocop/rubocop#7163
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants