Skip to content

Fix elvis to +/- case in case UnnecessaryParentheses when precedence is unclear - #5983

Merged
cortinico merged 1 commit into
detekt:mainfrom
atulgpt:fixes-4495
Apr 16, 2023
Merged

cortinico merged 1 commit into
detekt:mainfrom
atulgpt:fixes-4495

Conversation

@atulgpt

@atulgpt atulgpt commented Apr 11, 2023 •

Copy link
Copy Markdown
Contributor

Fixes #4495

@codecov

codecov Bot commented Apr 11, 2023 •

Copy link
Copy Markdown

Codecov Report

Merging #5983 (6f31c5c) into main (b925968) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##               main    #5983   +/-   ##
=========================================
  Coverage     84.66%   84.66%           
  Complexity     3836     3836           
=========================================
  Files           549      549           
  Lines         13065    13068    +3     
  Branches       2305     2305           
=========================================
+ Hits          11061    11064    +3     
  Misses          868      868           
  Partials       1136     1136           
Impacted Files Coverage Δ
...bosch/detekt/rules/style/UnnecessaryParentheses.kt 86.36% <100.00%> (+0.64%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Add tc for elvis to pair
@atulgpt atulgpt changed the title Fix elvis to +/- case Fix elvis to +/- case in case UnnecessaryParentheses when precedence is unclear Apr 11, 2023
@cortinico cortinico added this to the 1.23.0 milestone Apr 12, 2023
@atulgpt

atulgpt commented Apr 13, 2023

Copy link
Copy Markdown
Contributor Author

Hi, @BraisGabin failing CI seems to be intermittent GitHub API issue

@cortinico
cortinico merged commit b4172a6 into detekt:main Apr 16, 2023
@atulgpt
atulgpt deleted the fixes-4495 branch April 16, 2023 15:14

This branch was successfully deployed

1 active deployment
Preview — 6f31c5ce Deployed Apr 11, 2023 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UnnecessaryParentheses where IDE prompts for clarifying parentheses.

4 participants