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.
Lint/UselessDefaultValueArgument
1 parent 487ed0f commit a6ad200Copy full SHA for a6ad200
rubocop.yml
@@ -452,6 +452,11 @@ Lint/UselessAssignment:
452
Lint/UselessConstantScoping:
453
Enabled: false
454
455
+<% if rubocop_version >= "1.76" %>
456
+Lint/UselessDefaultValueArgument:
457
+ Enabled: true
458
+<% end %>
459
+
460
Lint/UselessDefined:
461
462
test/fixtures/full_config.yml
@@ -1958,7 +1958,7 @@ Lint/UselessConstantScoping:
1958
Lint/UselessDefaultValueArgument:
1959
Description: Checks for usage of `fetch` or `Array.new` with default value argument
1960
and block.
1961
- Enabled: pending
1962
VersionAdded: '1.76'
1963
Safe: false
1964
AllowedReceivers: []
0 commit comments