config/default.yml in rubocop-0.10.0 vs config/default.yml in rubocop-0.11.0

- old
+ new

@@ -63,21 +63,49 @@ collect: 'map' inject: 'reduce' detect: 'find' find_all: 'select' -# Muli-line method chaining should be done with leading dots. +# Multi-line method chaining should be done with leading dots. DotPosition: Style: 'leading' -# TrivialAccessors doesn't require exact name matches and doesn't allow predicated methods by default. +# TrivialAccessors doesn't require exact name matches and doesn't allow +# predicated methods by default. TrivialAccessors: ExactNameMatch: false AllowPredicates: false + Whitelist: + - to_ary + - to_a + - to_c + - to_enum + - to_h + - to_hash + - to_i + - to_int + - to_io + - to_open + - to_path + - to_proc + - to_r + - to_regexp + - to_str + - to_s + - to_sym # Allow safe assignment in conditions. AssignmentInCondition: AllowSafeAssignment: true # Allow safe assignment in conditions. ParenthesesAroundCondition: - AllowSafeAssignment: true \ No newline at end of file + AllowSafeAssignment: true + +# Checks formatting of special comments +CommentAnnotation: + Keywords: + - TODO + - FIXME + - OPTIMIZE + - HACK + - REVIEW