Skip to content

Commit a9fc2d4

Browse files
committed
Enable Rails/IndexBy and Rails/IndexWith cops
Followup to d3599d8, which applied this style to the existing codebase.
1 parent d5a3b2e commit a9fc2d4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.rubocop.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ Rails/RefuteMethods:
3131
Include:
3232
- '**/test/**/*'
3333

34+
Rails/IndexBy:
35+
Enabled: true
36+
37+
Rails/IndexWith:
38+
Enabled: true
39+
3440
# Prefer &&/|| over and/or.
3541
Style/AndOr:
3642
Enabled: true

0 commit comments

Comments
 (0)