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:
|
Style/RedundantArgument:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
|
Style/RedundantArrayFlatten:
|
||||||
|
Enabled: true
|
||||||
|
|
||||||
Style/RedundantBegin:
|
Style/RedundantBegin:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user