config/default.yml in rubocop-0.8.3 vs config/default.yml in rubocop-0.9.0
- old
+ new
@@ -20,13 +20,14 @@
# Avoid methods longer than 10 lines of code
MethodLength:
CountComments: false # count full line comments?
Max: 10
-# Avoid parameter lists longer than four parameters.
+# Avoid parameter lists longer than five parameters.
ParameterLists:
- Max: 4
+ Max: 5
+ CountKeywordArgs: true
# Don't use semicolons to terminate expressions.
Semicolon:
# For example; def area(height, width); height * width end
AllowAfterParameterListInOneLineMethods: false
@@ -46,5 +47,12 @@
AllowCamelCase: true
# Avoid more than `Max` levels of nesting.
BlockNesting:
Max: 3
+
+# Use %r for regular expressions matching more than `MaxSlashes` '/'
+# characters.
+# Use %r only for regular expressions matching more than `MaxSlashes` '/'
+# character.
+RegexpLiteral:
+ MaxSlashes: 1