/etc/roodi.yml is in roodi 5.0.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | AssignmentInConditionalCheck:
CaseMissingElseCheck:
ClassLineCountCheck:
line_count: 300
ClassNameCheck:
pattern: !ruby/regexp /^[A-Z][a-zA-Z0-9]*$/
ClassVariableCheck:
CyclomaticComplexityBlockCheck:
complexity: 4
CyclomaticComplexityMethodCheck:
complexity: 8
EmptyRescueBodyCheck:
ForLoopCheck:
MethodLineCountCheck:
line_count: 20
MethodNameCheck:
pattern: !ruby/regexp /^[_a-z<>=\[|+-\/\*`]+[_a-z0-9_<>=~@\[\]]*[=!\?]?$/
ModuleLineCountCheck:
line_count: 300
ModuleNameCheck:
pattern: !ruby/regexp /^[A-Z][a-zA-Z0-9]*$/
ParameterNumberCheck:
parameter_count: 5
|