Enable Rails/IndexBy and Rails/IndexWith cops

Followup to d3599d8affa90b60b4e9ab24fdbd35477b5ac06d, which applied this
style to the existing codebase.
This commit is contained in:
Eugene Kenny 2020-04-19 23:36:05 +01:00
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