Skip to content

Commit 080cf4b

Browse files
committed
Disable ActiveRecord-specific cops
We don't use ActiveRecord, so these find false positives in our code bases.
1 parent d630cd9 commit 080cf4b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ruby/rails_rubocop.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,9 @@ inherit_from: base_rubocop.yml
22

33
Rails:
44
Enabled: true
5+
6+
# Disabling ActiveRecord-related cops
7+
Rails/DynamicFindBy:
8+
Enabled: false
9+
Rails/FindBy:
10+
Enabled: false

0 commit comments

Comments
 (0)