diff --git a/.reek b/.reek new file mode 100644 index 0000000..2efaa7e --- /dev/null +++ b/.reek @@ -0,0 +1,13 @@ +# Excluding directories +exclude_paths: + - spec/dummy + +# Generic smell configuration +Attribute: + enabled: false +IrresponsibleModule: + enabled: false +NestedIterators: + max_allowed_nesting: 2 +TooManyStatements: + max_statements: 10 diff --git a/everett.gemspec b/everett.gemspec index 2359bd5..19b5617 100644 --- a/everett.gemspec +++ b/everett.gemspec @@ -23,6 +23,7 @@ Gem::Specification.new do |s| s.add_development_dependency "codeclimate-test-reporter", "~> 1.0" s.add_development_dependency "pry-byebug" s.add_development_dependency "pry-coolline" + s.add_development_dependency "reek" s.add_development_dependency "rspec-rails" s.add_development_dependency "rubocop" s.add_development_dependency "simplecov"