lib/rubocop/config_obsoletion.rb in rubocop-0.79.0 vs lib/rubocop/config_obsoletion.rb in rubocop-0.80.0
- old
+ new
@@ -67,10 +67,11 @@
'Style/TrailingComma' => 'Style/TrailingCommaInArguments, ' \
'Style/TrailingCommaInArrayLiteral, and/or ' \
'Style/TrailingCommaInHashLiteral',
'Style/TrailingCommaInLiteral' => 'Style/TrailingCommaInArrayLiteral ' \
'and/or ' \
- 'Style/TrailingCommaInHashLiteral'
+ 'Style/TrailingCommaInHashLiteral',
+ 'Style/BracesAroundHashParameters' => nil
}.map do |old_name, other_cops|
if other_cops
more = ". Please use #{other_cops} instead".gsub(%r{[A-Z]\w+/\w+},
'`\&`')
end