This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Basic Smell Options
Every smell detector in Reek offers at least the following configuration options:
| Option | Value | Effect |
|---|---|---|
enabled |
Boolean | Determines whether the smell detector is active. Defaults to true |
exclude |
an array of strings or regular expressions | Ignores any context whose full description (see %c in Command-Line Options) matches any element of this array. |
The file config/defaults.reek (shipped with the Reek gem) lists any default exclusions for each smell.
Example
To stop Reek reporting smells in any method called write you might create a configuration file containing this:
---
ControlCouple:
exclude:
- writeor this:
---
ControlCouple:
exclude:
- !ruby/regexp /write/







