lib/rubocop/config_obsoletion.rb in rubocop-0.88.0 vs lib/rubocop/config_obsoletion.rb in rubocop-0.89.0
- old
+ new
@@ -82,10 +82,15 @@
REMOVED_COPS_WITH_REASON = {
'Lint/InvalidCharacterLiteral' => 'it was never being actually triggered',
'Lint/SpaceBeforeFirstArg' =>
'it was a duplicate of `Layout/SpaceBeforeFirstArg`. Please use ' \
- '`Layout/SpaceBeforeFirstArg` instead'
+ '`Layout/SpaceBeforeFirstArg` instead',
+ 'Style/MethodMissingSuper' => 'it has been superseded by `Lint/MissingSuper`. Please use ' \
+ '`Lint/MissingSuper` instead',
+ 'Lint/UselessComparison' => 'it has been superseded by '\
+ '`Lint/BinaryOperatorWithIdenticalOperands`. Please use '\
+ '`Lint/BinaryOperatorWithIdenticalOperands` instead'
}.map do |cop_name, reason|
[cop_name, "The `#{cop_name}` cop has been removed since #{reason}."]
end
SPLIT_COPS = {