-
Notifications
You must be signed in to change notification settings - Fork 39
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
[#1347] Clean up the code #1376
[#1347] Clean up the code #1376
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1376 +/- ##
============================================
- Coverage 83.53% 83.46% -0.07%
+ Complexity 2552 2546 -6
============================================
Files 106 107 +1
Lines 7517 7543 +26
Branches 2081 2082 +1
============================================
+ Hits 6279 6296 +17
- Misses 359 367 +8
- Partials 879 880 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter3/files/IndentationRule.kt
Show resolved
Hide resolved
diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter3/files/IndentationRule.kt
Show resolved
Hide resolved
diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter3/files/IndentationRule.kt
Outdated
Show resolved
Hide resolved
diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter3/files/IndentationRule.kt
Show resolved
Hide resolved
...at-rules/src/test/kotlin/org/cqfn/diktat/ruleset/chapter3/spaces/IndentationRuleTestMixin.kt
Show resolved
Hide resolved
d2e9455
to
78b76a4
Compare
### What's done: * Code cleaned up in preparation to settle #1347. * No logic is modified with this change.
### What's done: * `IndentationError` moved to a separate source file. * Top-level extensions moved from `IndentationRule.kt` to `StringUtils.kt`.
78b76a4
to
0a3a32f
Compare
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
What's done:
WRONG_INDENTATION
: runningmvn diktat:fix
adds whitespace to string literals #1347.