-
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
Fixed KdocComments
and KdocFormatting
#1892
base: master
Are you sure you want to change the base?
Conversation
…es in class KDoc at the same time
…aven't empty line before them - added smoke test for class kdoc
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1892 +/- ##
============================================
+ Coverage 76.79% 76.82% +0.03%
+ Complexity 2492 2476 -16
============================================
Files 134 134
Lines 7898 7883 -15
Branches 2240 2230 -10
============================================
- Hits 6065 6056 -9
+ Misses 828 826 -2
+ Partials 1005 1001 -4 ☔ View full report in Codecov by Sentry. |
JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2) 167 files ±0 167 suites ±0 7m 19s ⏱️ -39s Results for commit 24166ca. ± Comparison against base commit f63b045. ♻️ This comment has been updated with latest results. |
JUnit Tests (macOS, EnricoMi/publish-unit-test-result-action@v2) 167 files ±0 167 suites ±0 2m 49s ⏱️ -54s Results for commit 24166ca. ± Comparison against base commit f63b045. ♻️ This comment has been updated with latest results. |
...t-rules/src/main/kotlin/com/saveourtool/diktat/ruleset/rules/chapter2/kdoc/KdocFormatting.kt
Show resolved
Hide resolved
...t-rules/src/main/kotlin/com/saveourtool/diktat/ruleset/rules/chapter2/kdoc/KdocFormatting.kt
Show resolved
Hide resolved
diktat-rules/src/main/kotlin/com/saveourtool/diktat/ruleset/rules/chapter2/kdoc/KdocComments.kt
Show resolved
Hide resolved
diktat-rules/src/main/kotlin/com/saveourtool/diktat/ruleset/rules/chapter2/kdoc/KdocComments.kt
Outdated
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.
I do not understand how 90% of refactoring work, but basically there are a lot of tests, so I believe in you :)
diktat-cli/src/test/resources/test/smoke/src/main/kotlin/ClassKdocExpected.kt
Show resolved
Hide resolved
diktat-rules/src/test/resources/test/paragraph2/kdoc/ConstructorCommentPropertiesTest.kt
Show resolved
Hide resolved
diktat-rules/src/test/resources/test/paragraph2/kdoc/ConstructorCommentKDocExpected.kt
Show resolved
Hide resolved
diktat-rules/src/test/resources/test/paragraph2/kdoc/ConstructorCommentNoKDocTest.kt
Show resolved
Hide resolved
…ugfix/kdoc_formatting # Conflicts: # diktat-cli/src/test/kotlin/com/saveourtool/diktat/smoke/DiktatSmokeTestBase.kt
What's done:
KdocComments
.KdocFormatting
for case when@property
and@constructor
basic tags haven't empty line before them.@property
tag.Closes #1884