module Reek::Configuration::ConfigurationFileFinder

ConfigurationFileFinder is responsible for finding Reek’s configuration.

There are 3 ways of passing ‘reek` a configuration file:

  1. Using the cli “-c” switch

  2. Having a file .reek.yml either in your current working directory or in a parent directory

  3. Having a file .reek.yml in your HOME directory

The order in which ConfigurationFileFinder tries to find such a configuration file is exactly like above.