mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
1c66e047f6
### Summary RuboCop 0.74.0 has been released. https://github.com/rubocop-hq/rubocop/releases/tag/v0.74.0 And rubocop-0-74 channel is available in Code Climate. https://github.com/codeclimate/codeclimate/releases/tag/v0.85.5 This PR specifies the same RuboCop Performance (1.3.0) and RuboCop Rails (2.0.0) versions as Code Climate's Gemfile.lock. https://github.com/codeclimate/codeclimate-rubocop/blob/channel/rubocop-0-74/Gemfile.lock#L51-L55 Also, the `EnforcedStyle` of `Layout/IndentationConsistency` has been renamed from `EnforcedStyle: rails` to `EnforcedStyle: indented_internal_methods` - https://github.com/rubocop-hq/rubocop/pull/7113 - https://github.com/rubocop-hq/rubocop/pull/7163 And this commit disables `Layout/SpaceAroundOperators` that was changed from RuboCop 0.74 by rubocop-hq/rubocop#7211. cf. https://github.com/rails/rails/pull/36943#issuecomment-521659529
30 lines
479 B
YAML
30 lines
479 B
YAML
version: "2"
|
|
|
|
checks:
|
|
argument-count:
|
|
enabled: false
|
|
complex-logic:
|
|
enabled: false
|
|
file-lines:
|
|
enabled: false
|
|
method-complexity:
|
|
enabled: false
|
|
method-count:
|
|
enabled: false
|
|
method-lines:
|
|
enabled: false
|
|
nested-control-flow:
|
|
enabled: false
|
|
return-statements:
|
|
enabled: false
|
|
similar-code:
|
|
enabled: false
|
|
identical-code:
|
|
enabled: false
|
|
|
|
plugins:
|
|
rubocop:
|
|
enabled: true
|
|
channel: rubocop-0-74
|
|
|
|
exclude_patterns: []
|