rubyx/.reek
Torsten Rüger 31ae0a9670 Add support for unless
ifs without a true branch would crash before
Somewhat more verbose but unified
2019-08-14 22:24:35 +03:00

41 lines
837 B
YAML

---
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"