From 13dbead27d484ce2e388c20a1c57742d70585273 Mon Sep 17 00:00:00 2001 From: taitus Date: Mon, 16 Jun 2025 11:43:53 +0200 Subject: [PATCH] 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. --- .rubocop.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 3175750f5..ca3696b9b 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -825,6 +825,9 @@ Style/RaiseArgs: Style/RedundantArgument: Enabled: true +Style/RedundantArrayFlatten: + Enabled: true + Style/RedundantBegin: Enabled: true