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:
|
Include:
|
||||||
- '**/test/**/*'
|
- '**/test/**/*'
|
||||||
|
|
||||||
|
Rails/IndexBy:
|
||||||
|
Enabled: true
|
||||||
|
|
||||||
|
Rails/IndexWith:
|
||||||
|
Enabled: true
|
||||||
|
|
||||||
# Prefer &&/|| over and/or.
|
# Prefer &&/|| over and/or.
|
||||||
Style/AndOr:
|
Style/AndOr:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
Loading…
Reference in New Issue