From 4c815922cd1c96a65034ccfaf6e2b8cfeeb78bbc Mon Sep 17 00:00:00 2001 From: Sam Bostock <sam.bostock@shopify.com> Date: Wed, 14 Aug 2024 12:54:49 -0400 Subject: [PATCH] Enable `Style/SuperArguments` --- rubocop.yml | 5 +++++ test/fixtures/full_config.yml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/rubocop.yml b/rubocop.yml index e55f325c..86984783 100644 --- a/rubocop.yml +++ b/rubocop.yml @@ -852,6 +852,11 @@ Style/StringLiteralsInInterpolation: Style/StructInheritance: Enabled: false +<% if rubocop_version >= "1.64" %> +Style/SuperArguments: + Enabled: true +<% end %> + <% if rubocop_version >= "1.58" %> Style/SuperWithArgsParentheses: Enabled: true diff --git a/test/fixtures/full_config.yml b/test/fixtures/full_config.yml index d5c1cda7..50932e0a 100644 --- a/test/fixtures/full_config.yml +++ b/test/fixtures/full_config.yml @@ -4148,7 +4148,7 @@ Style/StructInheritance: Style/SuperArguments: Description: Call `super` without arguments and parentheses when the signature is identical. - Enabled: pending + Enabled: true VersionAdded: '1.64' Style/SuperWithArgsParentheses: Description: Use parentheses for `super` with arguments.