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:
taitus
2025-06-16 11:43:53 +02:00
parent 9763799a8c
commit 13dbead27d

View File

@@ -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