Skip to content

Commit

Permalink
Enable Style/SuperArguments
Browse files Browse the repository at this point in the history
  • Loading branch information
sambostock committed Aug 14, 2024
1 parent a4f37ec commit 4c81592
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/full_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4c81592

Please sign in to comment.