-
-
Notifications
You must be signed in to change notification settings - Fork 784
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
Activate MultilineRawStringIndentation on detekt #5819
Conversation
024c1ca
to
c21fa34
Compare
Codecov Report
@@ Coverage Diff @@
## main #5819 +/- ##
============================================
- Coverage 84.60% 84.59% -0.01%
Complexity 3790 3790
============================================
Files 546 546
Lines 12918 12918
Branches 2268 2268
============================================
- Hits 10929 10928 -1
Misses 861 861
- Partials 1128 1129 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
* extract some more code vals * remove trailing tabs * add some spaces after commas * add some more private vals
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.
Most boring PR ever. (that's a big compliment 😜)
detekt-compiler-plugin/src/test/kotlin/io/github/detekt/compiler/plugin/CompilerTest.kt
Show resolved
Hide resolved
.../src/test/kotlin/io/gitlab/arturbosch/detekt/rules/bugs/DoubleMutabilityForCollectionSpec.kt
Show resolved
Hide resolved
...src/test/kotlin/io/gitlab/arturbosch/detekt/rules/style/optional/MandatoryBracesLoopsSpec.kt
Show resolved
Hide resolved
fun <V> two() : Int | ||
where V : Number = | ||
2 | ||
|
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.
is there a rule for leading/trailing empty lines?
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.
Do you mean for code or inside raw strings? For code I think that ktlint does that. On raw string there's nothing as far as I know.
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.
for raw
Improve the indentation of our tests