Add Style/RedundantArrayFlatten Rubocop 1.76 rule
This rule was introduced in RuboCop 1.76.0 to avoid flattening arrays when it has no effect.
This commit is contained in:
@@ -825,6 +825,9 @@ Style/RaiseArgs:
|
||||
Style/RedundantArgument:
|
||||
Enabled: true
|
||||
|
||||
Style/RedundantArrayFlatten:
|
||||
Enabled: true
|
||||
|
||||
Style/RedundantBegin:
|
||||
Enabled: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user