Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add UseOrEmpty rule #3470

Merged
merged 5 commits into from
Feb 18, 2021
Merged

Add UseOrEmpty rule #3470

merged 5 commits into from
Feb 18, 2021

Conversation

t-kameyama
Copy link
Contributor

Fixes #3465

@codecov
Copy link

codecov bot commented Feb 13, 2021

Codecov Report

Merging #3470 (9633f98) into master (b485435) will decrease coverage by 0.01%.
The diff coverage is 77.08%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #3470      +/-   ##
============================================
- Coverage     80.07%   80.05%   -0.02%     
- Complexity     2835     2848      +13     
============================================
  Files           456      457       +1     
  Lines          8511     8558      +47     
  Branches       1644     1659      +15     
============================================
+ Hits           6815     6851      +36     
- Misses          793      794       +1     
- Partials        903      913      +10     
Impacted Files Coverage Δ Complexity Δ
...gitlab/arturbosch/detekt/rules/style/UseOrEmpty.kt 76.08% <76.08%> (ø) 13.00 <13.00> (?)
...rturbosch/detekt/rules/style/StyleGuideProvider.kt 100.00% <100.00%> (ø) 3.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b485435...29886c7. Read the comment docs.

…/rules/style/UseOrEmpty.kt

Co-authored-by: Nicola Corti <corti.nico@gmail.com>
@chao2zhang chao2zhang merged commit e7fb7c1 into detekt:master Feb 18, 2021
@t-kameyama t-kameyama deleted the UseOrEmpty branch February 18, 2021 17:44
@cortinico cortinico added this to the 1.16.0 milestone Feb 19, 2021
This was referenced Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New Rule: UseOrEmpty
3 participants