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 (
Configuration Files
The behaviour of Reek’s code smell detectors can be configured by placing YAML files among your source files. See the relevant wiki page for details of the configuration options for each of the detected Code Smells.
Before examining each source file, Reek initializes its smell detectors using the file config/defaults.reek as installed by the Reek gem. Reek then overlays this initial configuration by loading up all files called *.reek found anywhere on the source file’s full path. Configuration files are overlaid in the order of “furthest away” first.
As an example, let’s look at one particular smell. The default configuration options for FeatureEnvy are:
---
FeatureEnvy:
enabled: trueNow suppose I ask Reek to check the file
/home/kr/work/subject.rb and I have the following additional config files in my environment:
/site.reek
---
FeatureEnvy:
exclude:
- view
- report/home/kr/work/exceptions.reek
---
FeatureEnvy:
enabled: falseAfter initializing FeatureEnvy from
config/defaults.reek, Reek will then overlay their settings by reading /site.reek, followed by /home/kr/work/exceptions.reek. The result is---
FeatureEnvy:
exclude:
- view
- report
enabled: falseAll of which means that the FeatureEnvy detector would not be enabled for this run of Reek.







