-
-
Notifications
You must be signed in to change notification settings - Fork 758
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
Rewrite MaxLineLength & TrailingWhitespace to avoid problematic offset calcs #7270
Conversation
Negative values are invalid as the text range must start and end within the range 0 to file.text.length
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7270 +/- ##
=======================================
Coverage ? 84.74%
Complexity ? 3990
=======================================
Files ? 578
Lines ? 12027
Branches ? 2483
=======================================
Hits ? 10192
Misses ? 606
Partials ? 1229 ☔ View full report in Codecov by Sentry. |
detekt-rules-style/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/style/MaxLineLength.kt
Outdated
Show resolved
Hide resolved
detekt-rules-style/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/style/Junk.kt
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR is really related with #7259. Because these two rules are the more problematic ones related with the null KtElement
.
No description provided.