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: detectors:
TooManyStatements:
enabled: true enabled: true
max_statements: 8 max_statements: 8
DuplicateMethodCall: DuplicateMethodCall:
max_calls: 2 max_calls: 2
FeatureEnvy: FeatureEnvy:
exclude: exclude:
- "Vool::Compiler"
- "RubyX::RubyCompiler" - "RubyX::RubyCompiler"
- "Risc::Interpreter" - "Risc::Interpreter"
- "Risc::TextWriter" - "Risc::TextWriter"
- "Arm::Translator" - "Arm::Translator"
- "Vm::ToCode" TooManyMethods:
TooManyMethods:
max_methods: 30 max_methods: 30
exclude: exclude:
- "Vool::Compiler"
- "RubyX::RubyCompiler" - "RubyX::RubyCompiler"
- "Ruby::RubyCompiler" - "Ruby::RubyCompiler"
- "Risc::Interpreter" - "Risc::Interpreter"
- "Risc::TextWriter" - "Risc::TextWriter"
- "Arm::Translator" - "Arm::Translator"
- "Util::List" - "Util::List"
UtilityFunction: UtilityFunction:
exclude: exclude:
- "Vool::Compiler"
- "RubyX::RubyCompiler" - "RubyX::RubyCompiler"
- "Risc::Interpreter" - "Risc::Interpreter"
- "Risc::TextWriter" - "Risc::TextWriter"
- "Arm::Translator" - "Arm::Translator"
- "Vm::ToCode" UncommunicativeMethodName:
UncommunicativeMethodName:
exclude: exclude:
- "Vool::Compiler"
- "RubyX::RubyCompiler" - "RubyX::RubyCompiler"
- "Risc::TextWriter" - "Risc::TextWriter"
- "Risc::Interpreter" - "Risc::Interpreter"
- "Arm::Translator" - "Arm::Translator"
- "Vm::ToCode" exclude_paths:
- test
- vendor
- stash