Skip to content

Commit

Permalink
Ignore InstanceVariableAssumption in controllers
Browse files Browse the repository at this point in the history
Reek doesn't like using `before_action`s to set an instance variable.
Try as I might, I still haven't come up with a better pattern, however.
So, I'm just disabling this smell for this context entirely (at least
for now).
  • Loading branch information
Paul DobbinSchmaltz committed Oct 25, 2024
1 parent 9a40882 commit eebd29f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .reek.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ directories:
app/controllers:
IrresponsibleModule:
enabled: false
InstanceVariableAssumption:
enabled: false
app/helpers:
IrresponsibleModule:
enabled: false
Expand Down

0 comments on commit eebd29f

Please sign in to comment.