lib/rubocop/config_obsoletion.rb in rubocop-0.74.0 vs lib/rubocop/config_obsoletion.rb in rubocop-0.75.0
- old
+ new
@@ -117,9 +117,21 @@
},
{
cops: 'Rails/UniqBeforePluck',
parameters: 'EnforcedMode',
alternative: '`EnforcedMode` has been renamed to `EnforcedStyle`'
+ },
+ {
+ cops: 'Style/MethodCallWithArgsParentheses',
+ parameters: 'IgnoredMethodPatterns',
+ alternative: '`IgnoredMethodPatterns` has been renamed to ' \
+ '`IgnoredPatterns`'
+ },
+ {
+ cops: %w[Performance/Count Performance/Detect],
+ parameters: 'SafeMode',
+ alternative: '`SafeMode` has been removed. ' \
+ 'Use `SafeAutoCorrect` instead.'
}
].freeze
OBSOLETE_ENFORCED_STYLES = [
{