mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
211b10aea6
## Summary RuboCop 0.58.2 was released. https://github.com/rubocop-hq/rubocop/releases/tag/v0.58.2 And rubocop-0-58 channel is available in Code Climate. https://github.com/codeclimate/codeclimate/releases/tag/v0.76.0 https://github.com/codeclimate/codeclimate/commit/38f21f0 In addition, the following changes are made in this PR. - Replace Custom cops with Rails cops - Add jaro_winkler gem to Gemfile.lock ### Replace Custom cops with Rails cops These are compatible replacements. - Replace `CustomCops/AssertNot` cop with `Rails/AssertNot` cop. - Replace `CustomCops/RefuteNot` cop with `Rails/RefuteMethods` cop. With this replacement, it was decided to use cop of RuboCop itself. It removes the code related to CustomCops accordingly. ### Add jaro_winkler gem to Gemfile.lock Since RuboCop 0.57.0 depends on jaro_winkler gem, it has been added to Gemfile.lock.
36 lines
532 B
YAML
36 lines
532 B
YAML
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
|
|
|
|
engines:
|
|
rubocop:
|
|
enabled: true
|
|
channel: rubocop-0-58
|
|
|
|
ratings:
|
|
paths:
|
|
- "**.rb"
|
|
|
|
exclude_paths:
|
|
- ci/
|
|
- guides/
|
|
- tasks/
|
|
- tools/
|