Skip to content

Commit

Permalink
Merge pull request #285 from nimblehq/chore/update-reek-config
Browse files Browse the repository at this point in the history
Update Reek config to make it's Rails-friendly when using engines
  • Loading branch information
andyduong1920 committed Mar 24, 2021
2 parents 01da508 + f8a29e1 commit 35c3120
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .reek.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,22 @@ directories:
"app/mailers":
InstanceVariableAssumption:
enabled: false
"app/model":
InstanceVariableAssumption:
enabled: false
"engines/**/app/controllers/**":
NestedIterators:
max_allowed_nesting: 2
UnusedPrivateMethod:
enabled: false
InstanceVariableAssumption:
enabled: false
"engines/**/app/helpers/**":
UtilityFunction:
enabled: false
"engines/**/app/mailers/**":
InstanceVariableAssumption:
enabled: false
"db/migrate/":
FeatureEnvy:
enabled: false
Expand Down

0 comments on commit 35c3120

Please sign in to comment.