config/default.yml in rubocop-0.9.0 vs config/default.yml in rubocop-0.9.1
- old
+ new
@@ -54,5 +54,17 @@
# characters.
# Use %r only for regular expressions matching more than `MaxSlashes` '/'
# character.
RegexpLiteral:
MaxSlashes: 1
+
+# Align with the style guide.
+CollectionMethods:
+ PreferredMethods:
+ collect: 'map'
+ inject: 'reduce'
+ detect: 'find'
+ find_all: 'select'
+
+# Muli-line method chaining should be done with leading dots.
+DotPosition:
+ Style: 'leading'
\ No newline at end of file