Browse files

Update roodi config

  • Loading branch information...
1 parent 5ae5010 commit d8ee43f30d2cc4695c023b8627825d7f081a282a @solnic committed Mar 9, 2013
Showing with 7 additions and 8 deletions.
  1. +7 −8 config/roodi.yml
View
15 config/roodi.yml
@@ -1,17 +1,16 @@
---
-AbcMetricMethodCheck: { score: 12.1 }
+AbcMetricMethodCheck: { score: 9.0 }
AssignmentInConditionalCheck: { }
CaseMissingElseCheck: { }
-ClassLineCountCheck: { line_count: 325 }
-ClassNameCheck: { pattern: !ruby/regexp /\A(?:[A-Z]+|[A-Z][a-z](?:[A-Z]?[a-z])+)\z/ }
+ClassLineCountCheck: { line_count: 250 }
+ClassNameCheck: { pattern: !ruby/regexp '/\A(?:[A-Z]+|[A-Z][a-z](?:[A-Z]?[a-z])+)\z/' }
ClassVariableCheck: { }
CyclomaticComplexityBlockCheck: { complexity: 4 }
CyclomaticComplexityMethodCheck: { complexity: 4 }
EmptyRescueBodyCheck: { }
ForLoopCheck: { }
-MethodLineCountCheck: { line_count: 10 }
-MethodNameCheck: { pattern: !ruby/regexp /\A(?:[a-z\d](?:_?[a-z\d])+[?!=]?|\[\]=?|==|<=>|<<|[+*&|-])\z/ }
-ModuleLineCountCheck: { line_count: 331 }
-ModuleNameCheck: { pattern: !ruby/regexp /\A(?:[A-Z]+|[A-Z][a-z](?:[A-Z]?[a-z])+)\z/ }
-# TODO: decrease parameter_count to 2 or less
+MethodLineCountCheck: { line_count: 6 }
+MethodNameCheck: { pattern: !ruby/regexp '/\A(?:[a-z\d](?:_?[a-z\d])+[?!=]?|\[\]=?|==|<=>|<<|[+*&|-])\z/' }
+ModuleLineCountCheck: { line_count: 235 }
+ModuleNameCheck: { pattern: !ruby/regexp '/\A(?:[A-Z]+|[A-Z][a-z](?:[A-Z]?[a-z])+)\z/' }
ParameterNumberCheck: { parameter_count: 3 }

0 comments on commit d8ee43f

Please sign in to comment.