8c1fa8dace
* This infrastructure, especially the rake tasks should be gemified at some point in the future. I copied exactly the same bytes many times in the last month.
26 lines
768 B
YAML
26 lines
768 B
YAML
---
|
|
AbcMetricMethodCheck:
|
|
score: 12.1
|
|
AssignmentInConditionalCheck: {}
|
|
CaseMissingElseCheck: {}
|
|
ClassLineCountCheck:
|
|
line_count: 200
|
|
ClassNameCheck:
|
|
pattern: !ruby/regexp /\A(?:[A-Z]+|[A-Z][a-z](?:[A-Z]?[a-z])+)\z/
|
|
ClassVariableCheck: {}
|
|
CyclomaticComplexityBlockCheck:
|
|
complexity: 2
|
|
CyclomaticComplexityMethodCheck:
|
|
complexity: 2
|
|
EmptyRescueBodyCheck: {}
|
|
ForLoopCheck: {}
|
|
MethodLineCountCheck:
|
|
line_count: 9
|
|
MethodNameCheck:
|
|
pattern: !ruby/regexp /\A(?:[a-z\d](?:_?[a-z\d])+[?!=]?|\[\]=?|==|<=>|<<|[+*&|-])\z/
|
|
ModuleLineCountCheck:
|
|
line_count: 202
|
|
ModuleNameCheck:
|
|
pattern: !ruby/regexp /\A(?:[A-Z]+|[A-Z][a-z](?:[A-Z]?[a-z])+)\z/
|
|
ParameterNumberCheck:
|
|
parameter_count: 2
|