Enable Rails/IndexBy and Rails/IndexWith cops

Followup to d3599d8aff, 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
1 changed files with 6 additions and 0 deletions

View File

@ -31,6 +31,12 @@ Rails/RefuteMethods:
Include:
- '**/test/**/*'
Rails/IndexBy:
Enabled: true
Rails/IndexWith:
Enabled: true
# Prefer &&/|| over and/or.
Style/AndOr:
Enabled: true