Skip to content

Commit

Permalink
Rubocop: Ignore Rails/Delegate
Browse files Browse the repository at this point in the history
This rule makes code shorter, but much less understandable.

(cherry picked from commit 90ce190)
  • Loading branch information
mamhoff committed Feb 19, 2025
1 parent 289f693 commit 56f8c6a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ Style/TrailingCommaInHashLiteral:
Style/SymbolArray:
Enabled: false

# In some circumstances, this looks really unintuitive
Rails/Delegate:
Enabled: false

Rails/DynamicFindBy:
Whitelist:
- find_by_param
Expand Down

0 comments on commit 56f8c6a

Please sign in to comment.