Skip to content

Commit

Permalink
Enable Style/SuperWithArgsParentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
sambostock committed Dec 11, 2023
1 parent 2d34a78 commit b5630b8
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 @@ -834,6 +834,11 @@ Style/StringLiteralsInInterpolation:
Style/StructInheritance:
Enabled: false

<% if rubocop_version >= v1_58 %>
Style/SuperWithArgsParentheses:
Enabled: true
<% end %>

Style/SwapValues:
Enabled: false

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 @@ -4093,7 +4093,7 @@ Style/StructInheritance:
Style/SuperWithArgsParentheses:
Description: Use parentheses for `super` with arguments.
StyleGuide: "#super-with-args"
Enabled: pending
Enabled: true
VersionAdded: '1.58'
Style/SwapValues:
Description: Enforces the use of shorthand-style swapping of 2 variables.
Expand Down

0 comments on commit b5630b8

Please sign in to comment.