lib/reek/smells/smell_detector.rb in reek-3.7.1 vs lib/reek/smells/smell_detector.rb in reek-3.8.0
- old
+ new
@@ -12,9 +12,10 @@
# - {file:README.md}
# for details.
#
# :reek:TooManyMethods: { max_methods: 19 }
# :reek:TooManyInstanceVariables: { max_instance_variables: 5 }
+ # :reek:UnusedPrivateMethod: { exclude: [ inherited, smell_warning ] }
class SmellDetector
attr_reader :config
private_attr_accessor :smells_found
# The name of the config field that lists the names of code contexts
# that should not be checked. Add this field to the config for each