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 ..< and rangeTo in the ForEachOnRange rule #6197

Merged
merged 1 commit into from Jun 8, 2023

Conversation

atulgpt
Copy link
Contributor

@atulgpt atulgpt commented Jun 8, 2023

Fixes #6124

@codecov
Copy link

codecov bot commented Jun 8, 2023

Codecov Report

Merging #6197 (4e82c25) into main (0dfdaba) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##               main    #6197   +/-   ##
=========================================
  Coverage     84.45%   84.45%           
  Complexity     3999     3999           
=========================================
  Files           568      568           
  Lines         13439    13439           
  Branches       2377     2377           
=========================================
  Hits          11350    11350           
  Misses          934      934           
  Partials       1155     1155           
Impacted Files Coverage Δ
...urbosch/detekt/rules/performance/ForEachOnRange.kt 85.29% <100.00%> (ø)

@schalkms schalkms added this to the 2.0.0 milestone Jun 8, 2023
@schalkms schalkms merged commit 77e4dc0 into detekt:main Jun 8, 2023
23 checks passed
@atulgpt atulgpt deleted the fixes/6124 branch June 8, 2023 20:02
@cortinico cortinico added the pick request Marker for PRs that should be ported to the 1.0 release branch label Jul 15, 2023
cortinico pushed a commit to cortinico/detekt that referenced this pull request Jul 15, 2023
mgroth0 pushed a commit to mgroth0/detekt that referenced this pull request Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pick request Marker for PRs that should be ported to the 1.0 release branch rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ForEachOnRange rule should consider rangeUntil & ..< operator
4 participants