config/enabled.yml in rubocop-0.54.0 vs config/enabled.yml in rubocop-0.55.0
- old
+ new
@@ -652,10 +652,17 @@
Lint/SafeNavigationChain:
Description: 'Do not chain ordinary method call after safe navigation operator.'
Enabled: true
+Lint/SafeNavigationConsistency:
+ Description: >-
+ Check to make sure that if safe navigation is used for a method
+ call in an `&&` or `||` condition that safe navigation is used
+ for all method calls on that same object.
+ Enabled: true
+
Lint/ScriptPermission:
Description: 'Grant script file execute permission.'
Enabled: true
Lint/ShadowedArgument:
@@ -1052,9 +1059,15 @@
AutoCorrect: false
Enabled: true
Performance/UnfreezeString:
Description: 'Use unary plus to get an unfrozen string literal.'
+ Enabled: true
+
+Performance/UnneededSort:
+ Description: >-
+ Use `min` instead of `sort.first`,
+ `max_by` instead of `sort_by...last`, etc.
Enabled: true
Performance/UriDefaultParser:
Description: 'Use `URI::DEFAULT_PARSER` instead of `URI::Parser.new`.'
Enabled: true