class Reek::CodeComment::CodeCommentValidator

A typical configuration via code comment looks like this:

:reek: DuplicateMethodCall { enabled: false }

There are a lot of ways a user can introduce some errors here:

1.) Unknown smell detector 2.) Garbage in the detector configuration like { thats: a: bad: config } 3.) Unknown configuration keys (e.g. by doing a simple typo: “exclude” vs. “exlude” ) 4.) Bad data types given as values for those keys This class validates [1], [2] and [3] at the moment but will also validate

4

in the future.

@quality :reek:TooManyInstanceVariables { max_instance_variables: 7 }