diff --git a/.rubocop.yml b/.rubocop.yml index 1cd04a6a1a..daf75d8e56 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -31,6 +31,12 @@ Rails/RefuteMethods: Include: - '**/test/**/*' +Rails/IndexBy: + Enabled: true + +Rails/IndexWith: + Enabled: true + # Prefer &&/|| over and/or. Style/AndOr: Enabled: true