Conflict between Style/RedundantParentheses
and Style/ParenthesesAroundCondition
#12537
Labels
Style/RedundantParentheses
and Style/ParenthesesAroundCondition
#12537
Expected behavior
No offenses from
Style/RedundantParentheses
when I haveStyle/ParenthesesAroundCondition
withAllowInMultilineConditions: true
.Actual behavior
There is an offense:
Steps to reproduce the problem
RuboCop version
Include the output of
rubocop -V
orbundle exec rubocop -V
if using Bundler.If you see extension cop versions (e.g.
rubocop-performance
,rubocop-rspec
, and others)output by
rubocop -V
, include them as well. Here's an example:The text was updated successfully, but these errors were encountered: