We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Style/ReduntantArrayFlatten
1 parent b823271 commit ccbb378Copy full SHA for ccbb378
rubocop.yml
@@ -1138,6 +1138,11 @@ Style/RedundantArgument:
1138
Style/RedundantArrayConstructor:
1139
Enabled: false
1140
1141
+<% if rubocop_version >= "1.76" %>
1142
+Style/RedundantArrayFlatten:
1143
+ Enabled: true
1144
+<% end %>
1145
+
1146
Style/RedundantAssignment:
1147
1148
test/fixtures/full_config.yml
@@ -3941,7 +3941,7 @@ Style/RedundantArrayConstructor:
3941
VersionAdded: '1.52'
3942
Style/RedundantArrayFlatten:
3943
Description: Checks for redundant calls of `Array#flatten`.
3944
- Enabled: pending
3945
Safe: false
3946
VersionAdded: '1.76'
3947
0 commit comments