You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a fix for this myself. I think the easiest solution is to make Style/NestedParenthesizedCalls do nothing if Style/MethodCallWithArgsParentheses is enabled (which it isn't by default).
The text was updated successfully, but these errors were encountered:
…izedCalls`
Fixesrubocop#9335.
This PR fixes an incorrect auto-correct for `EnforcedStyle: require_parentheses` of
`Style/MethodCallWithArgsParentheses` with `Style/NestedParenthesizedCalls`.
Fixes#9335.
This PR fixes an incorrect auto-correct for `EnforcedStyle: require_parentheses` of
`Style/MethodCallWithArgsParentheses` with `Style/NestedParenthesizedCalls`.
With the following code
running
rubocop -a
Expected behavior
Actual behavior
Steps to reproduce the problem
As above.
RuboCop version
I'm working on a fix for this myself. I think the easiest solution is to make
Style/NestedParenthesizedCalls
do nothing ifStyle/MethodCallWithArgsParentheses
is enabled (which it isn't by default).The text was updated successfully, but these errors were encountered: