fix reek config
This commit is contained in:
parent
41eccb9382
commit
42ed70b50b
76
.reek.yml
76
.reek.yml
@ -1,40 +1,38 @@
|
|||||||
---
|
---
|
||||||
TooManyStatements:
|
detectors:
|
||||||
enabled: true
|
TooManyStatements:
|
||||||
max_statements: 8
|
enabled: true
|
||||||
DuplicateMethodCall:
|
max_statements: 8
|
||||||
max_calls: 2
|
DuplicateMethodCall:
|
||||||
FeatureEnvy:
|
max_calls: 2
|
||||||
exclude:
|
FeatureEnvy:
|
||||||
- "Vool::Compiler"
|
exclude:
|
||||||
- "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:
|
- "RubyX::RubyCompiler"
|
||||||
- "Vool::Compiler"
|
- "Ruby::RubyCompiler"
|
||||||
- "RubyX::RubyCompiler"
|
- "Risc::Interpreter"
|
||||||
- "Ruby::RubyCompiler"
|
- "Risc::TextWriter"
|
||||||
- "Risc::Interpreter"
|
- "Arm::Translator"
|
||||||
- "Risc::TextWriter"
|
- "Util::List"
|
||||||
- "Arm::Translator"
|
UtilityFunction:
|
||||||
- "Util::List"
|
exclude:
|
||||||
UtilityFunction:
|
- "RubyX::RubyCompiler"
|
||||||
exclude:
|
- "Risc::Interpreter"
|
||||||
- "Vool::Compiler"
|
- "Risc::TextWriter"
|
||||||
- "RubyX::RubyCompiler"
|
- "Arm::Translator"
|
||||||
- "Risc::Interpreter"
|
UncommunicativeMethodName:
|
||||||
- "Risc::TextWriter"
|
exclude:
|
||||||
- "Arm::Translator"
|
- "RubyX::RubyCompiler"
|
||||||
- "Vm::ToCode"
|
- "Risc::TextWriter"
|
||||||
UncommunicativeMethodName:
|
- "Risc::Interpreter"
|
||||||
exclude:
|
- "Arm::Translator"
|
||||||
- "Vool::Compiler"
|
exclude_paths:
|
||||||
- "RubyX::RubyCompiler"
|
- test
|
||||||
- "Risc::TextWriter"
|
- vendor
|
||||||
- "Risc::Interpreter"
|
- stash
|
||||||
- "Arm::Translator"
|
|
||||||
- "Vm::ToCode"
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user