Enable Rails/IndexBy and Rails/IndexWith cops
Followup to d3599d8affa90b60b4e9ab24fdbd35477b5ac06d, 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
Block a user