From 4127e23251744f2d4622ddcb47afa33bde8c2105 Mon Sep 17 00:00:00 2001 From: yasaichi Date: Sun, 25 Dec 2016 22:47:21 +0900 Subject: [PATCH] Introduce Reek --- .reek | 13 +++++++++++++ everett.gemspec | 1 + 2 files changed, 14 insertions(+) create mode 100644 .reek 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"