-
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
Diktat API #1655
Diktat API #1655
Conversation
### What's done: - added diktat-api - added diktat-ktlint-engine
diktat-api/src/main/kotlin/org/cqfn/diktat/api/DiktatProcessorListener.kt
Fixed
Show fixed
Hide fixed
Codecov Report
@@ Coverage Diff @@
## master #1655 +/- ##
============================================
- Coverage 80.74% 80.45% -0.29%
+ Complexity 2330 2320 -10
============================================
Files 117 121 +4
Lines 7909 7920 +11
Branches 2043 2036 -7
============================================
- Hits 6386 6372 -14
- Misses 621 649 +28
+ Partials 902 899 -3
... and 1 file with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
JUnit Tests (macOS, EnricoMi/publish-unit-test-result-action@v2) 161 files ±0 161 suites ±0 5m 50s ⏱️ ±0s Results for commit 741bf6a. ± Comparison against base commit 08836e7. ♻️ This comment has been updated with latest results. |
JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2) 161 files ±0 161 suites ±0 7m 56s ⏱️ -51s Results for commit 741bf6a. ± Comparison against base commit 08836e7. ♻️ This comment has been updated with latest results. |
diktat-gradle-plugin/src/main/kotlin/org/cqfn/diktat/plugin/gradle/tasks/DiktatTaskBase.kt
Fixed
Show fixed
Hide fixed
diktat-gradle-plugin/src/main/kotlin/org/cqfn/diktat/plugin/gradle/tasks/DiktatTaskBase.kt
Fixed
Show fixed
Hide fixed
- fixed checking configFile - restored logic for input and exclude in maven plugin (removed in #1655) - fixed warning about provided dependency in maven plugin
What's done:
diktat-api
-- it contains all API interfaces which need to rundiktat
diktat-ktlint-engine
-- it contains implementations fordiktat-api
ktlint-core
added todiktat-rules
to useElementTypes
. There is a branch to fix all imports, but it contains a lot of changes... master...feature/ktlint-importsDiktatRunner*
to use a common approach to rundiktat
on a bunch of files: it creates baseline, reporter and applying a formatted code to fileCherry-picked #1566