Skip to content

Commit

Permalink
Update reek rules
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzedge committed Dec 8, 2024
1 parent 535edb4 commit 18760e3
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 @@ -9,6 +9,7 @@ detectors:
# Need these setters for compression
- 'Rambling::Trie::Nodes::Node#children_tree'
- 'Rambling::Trie::Nodes::Node#parent'
- 'Rambling::Trie::Nodes::Node#value'
# All Properties are settable by clients because of config convention
- 'Rambling::Trie::Configuration::Properties'

Expand All @@ -22,6 +23,7 @@ detectors:

FeatureEnvy:
exclude:
- 'Rambling::Trie::Container#concat' # needs to access words array to add all words _and_ values
- 'Rambling::Trie::Compressor' # needs to access node internals to perform compression
- 'Rambling::Trie::Nodes::Compressed#partial_word_chars?' # needs access to child letter to figure out compressed letters

Expand Down

0 comments on commit 18760e3

Please sign in to comment.