mirror of https://github.com/rails/rails
Enable Rails/IndexBy and Rails/IndexWith cops
Followup to d3599d8aff
, which applied this
style to the existing codebase.
This commit is contained in:
parent
d5a3b2e427
commit
a9fc2d4daa
|
@ -31,6 +31,12 @@ Rails/RefuteMethods:
|
|||
Include:
|
||||
- '**/test/**/*'
|
||||
|
||||
Rails/IndexBy:
|
||||
Enabled: true
|
||||
|
||||
Rails/IndexWith:
|
||||
Enabled: true
|
||||
|
||||
# Prefer &&/|| over and/or.
|
||||
Style/AndOr:
|
||||
Enabled: true
|
||||
|
|
Loading…
Reference in New Issue