fix reek config

This commit is contained in:
Torsten Rüger 2019-09-24 22:34:01 +03:00
parent 41eccb9382
commit 42ed70b50b
1 changed files with 37 additions and 39 deletions

View File

@ -1,40 +1,38 @@
---
TooManyStatements:
enabled: true
max_statements: 8
DuplicateMethodCall:
max_calls: 2
FeatureEnvy:
exclude:
- "Vool::Compiler"
- "RubyX::RubyCompiler"
- "Risc::Interpreter"
- "Risc::TextWriter"
- "Arm::Translator"
- "Vm::ToCode"
TooManyMethods:
max_methods: 30
exclude:
- "Vool::Compiler"
- "RubyX::RubyCompiler"
- "Ruby::RubyCompiler"
- "Risc::Interpreter"
- "Risc::TextWriter"
- "Arm::Translator"
- "Util::List"
UtilityFunction:
exclude:
- "Vool::Compiler"
- "RubyX::RubyCompiler"
- "Risc::Interpreter"
- "Risc::TextWriter"
- "Arm::Translator"
- "Vm::ToCode"
UncommunicativeMethodName:
exclude:
- "Vool::Compiler"
- "RubyX::RubyCompiler"
- "Risc::TextWriter"
- "Risc::Interpreter"
- "Arm::Translator"
- "Vm::ToCode"
detectors:
TooManyStatements:
enabled: true
max_statements: 8
DuplicateMethodCall:
max_calls: 2
FeatureEnvy:
exclude:
- "RubyX::RubyCompiler"
- "Risc::Interpreter"
- "Risc::TextWriter"
- "Arm::Translator"
TooManyMethods:
max_methods: 30
exclude:
- "RubyX::RubyCompiler"
- "Ruby::RubyCompiler"
- "Risc::Interpreter"
- "Risc::TextWriter"
- "Arm::Translator"
- "Util::List"
UtilityFunction:
exclude:
- "RubyX::RubyCompiler"
- "Risc::Interpreter"
- "Risc::TextWriter"
- "Arm::Translator"
UncommunicativeMethodName:
exclude:
- "RubyX::RubyCompiler"
- "Risc::TextWriter"
- "Risc::Interpreter"
- "Arm::Translator"
exclude_paths:
- test
- vendor
- stash