Add and apply Lint/RedundantSafeNavigation RuboCop rule
We've tested the updated behavior in RuboCop 1.69, found a new offense, and corrected it.
This commit is contained in:
@@ -311,6 +311,9 @@ Lint/NonAtomicFileOperation:
|
||||
Lint/ParenthesesAsGroupedExpression:
|
||||
Enabled: true
|
||||
|
||||
Lint/RedundantSafeNavigation:
|
||||
Enabled: true
|
||||
|
||||
Lint/RedundantStringCoercion:
|
||||
Enabled: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user