Closed renovate[bot] closed 1 year ago
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
β Warning: custom changes will be lost.
Merging #1729 (5579d78) into master (84e380d) will decrease coverage by
3.46%
. The diff coverage is12.90%
.
@@ Coverage Diff @@
## master #1729 +/- ##
============================================
- Coverage 78.21% 74.76% -3.46%
+ Complexity 2324 2270 -54
============================================
Files 126 126
Lines 8223 8230 +7
Branches 2073 2072 -1
============================================
- Hits 6432 6153 -279
- Misses 876 1163 +287
+ Partials 915 914 -1
Files Changed | Coverage Ξ | |
---|---|---|
...c/main/kotlin/com/saveourtool/diktat/DiktatMain.kt | 0.00% <ΓΈ> (ΓΈ) |
|
...iktat/common/config/reader/AbstractConfigReader.kt | 66.66% <0.00%> (-8.34%) |
:arrow_down: |
...ktat/common/config/reader/ApplicationProperties.kt | 0.00% <0.00%> (ΓΈ) |
|
...ol/diktat/common/config/rules/RulesConfigReader.kt | 34.14% <0.00%> (ΓΈ) |
|
...com/saveourtool/diktat/ruleset/rules/DiktatRule.kt | 62.50% <0.00%> (-2.72%) |
:arrow_down: |
...at/ruleset/rules/chapter2/comments/CommentsRule.kt | 87.64% <0.00%> (-1.00%) |
:arrow_down: |
.../ruleset/rules/chapter2/kdoc/CommentsFormatting.kt | 52.97% <0.00%> (-18.46%) |
:arrow_down: |
...diktat/ruleset/rules/chapter3/TrailingCommaRule.kt | 74.07% <0.00%> (-18.38%) |
:arrow_down: |
...iktat/ruleset/rules/chapter3/files/NewlinesRule.kt | 81.86% <0.00%> (ΓΈ) |
|
...tat/ruleset/rules/chapter3/files/WhiteSpaceRule.kt | 77.99% <0.00%> (ΓΈ) |
|
... and 6 more |
βββ164 filesβ Β±0βββββ164 suitesβ Β±0βββ5m 32s :stopwatch: +8s 1β377 tests Β±0ββ1β308 :heavy_check_mark: β-β33ββ69 :zzz: +33ββ0 :x: Β±0β 2β756 runsβ Β±0ββ2β686 :heavy_check_mark: β-β34ββ70 :zzz: +34ββ0 :x: Β±0β
Results for commit 5579d788.βΒ± Comparison against base commit 84e380d4.
:recycle: This comment has been updated with latest results.
βββ164 filesβ Β±0βββββ164 suitesβ Β±0βββ5m 15s :stopwatch: - 1m 33s 1β377 tests Β±0ββ1β320 :heavy_check_mark: β-β40ββ57 :zzz: +40ββ0 :x: Β±0β 2β756 runsβ Β±0ββ2β698 :heavy_check_mark: β-β41ββ58 :zzz: +41ββ0 :x: Β±0β
Results for commit 5579d788.βΒ± Comparison against base commit 84e380d4.
:recycle: This comment has been updated with latest results.
This PR contains the following updates:
0.49.1
->1.0.0
0.49.1
->1.0.0
0.49.1
->1.0.0
β Dependency Lookup Warnings β
Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.
Release Notes
pinterest/ktlint (com.pinterest.ktlint:ktlint-cli-ruleset-core)
### [`v1.0.0`](https://togithub.com/pinterest/ktlint/blob/HEAD/CHANGELOG.md#100---2023-09-05) [Compare Source](https://togithub.com/pinterest/ktlint/compare/0.50.0...1.0.0) ##### π Breaking changes - Update and align Maven coordinates - [#2195](https://togithub.com/pinterest/ktlint/pull/2195), by [@paul-dingemans](https://togithub.com/paul-dingemans)\ Be sure to update Maven coordinates below, to get latest changes! | Old Maven coordinates | New Maven coordinates | |----------------------------------------------------|--------------------------------------------------------| | com.pinterest.ktlint | com.pinterest.ktlint.ktlint-cli | | com.pinterest.ktlint.ktlint-reporter-baseline | com.pinterest.ktlint.ktlint-cli-reporter-baseline | | com.pinterest.ktlint.ktlint-reporter-checkstyle | com.pinterest.ktlint.ktlint-cli-reporter-checkstyle | | com.pinterest.ktlint.ktlint-cli-reporter | com.pinterest.ktlint.ktlint-cli-reporter-core | | com.pinterest.ktlint.ktlint-reporter-format | com.pinterest.ktlint.ktlint-cli-reporter-format | | com.pinterest.ktlint.ktlint-reporter-html | com.pinterest.ktlint.ktlint-cli-reporter-html | | com.pinterest.ktlint.ktlint-reporter-json | com.pinterest.ktlint.ktlint-cli-reporter-json | | com.pinterest.ktlint.ktlint-reporter-plain | com.pinterest.ktlint.ktlint-cli-reporter-plain | | com.pinterest.ktlint.ktlint-reporter-plain-summary | com.pinterest.ktlint.ktlint-cli-reporter-plain-summary | | com.pinterest.ktlint.ktlint-reporter-sarif | com.pinterest.ktlint.ktlint-cli-reporter-sarif | - Add binary compatibility validator - [#2131](https://togithub.com/pinterest/ktlint/pull/2131), by [@mateuszkwiecinski](https://togithub.com/mateuszkwiecinski) - Replace kotlin public `data class`es with Poko compiler plugin generated ones - [#2136](https://togithub.com/pinterest/ktlint/pull/2136), by [@mateuszkwiecinski](https://togithub.com/mateuszkwiecinski)\ As a part of public API stabilization, data classes are no longer used in the public API. As of that, functions like `copy()` or `componentN()` (used for destructuring declarations) are not available anymore. - Promote experimental rules - [#2218](https://togithub.com/pinterest/ktlint/pull/2218), by [@paul-dingemans](https://togithub.com/paul-dingemans)\ The rules below have been promoted to non-experimental rules: - [blank-line-before-declaration](https://pinterest.github.io/ktlint/1.0.0/rules/standard/#blank-line-before-declarations) - [context-receiver-wrapping](https://pinterest.github.io/ktlint/1.0.0/rules/standard/#content-receiver-wrapping) - [discouraged-comment-location](https://pinterest.github.io/ktlint/1.0.0/rules/standard/#discouraged-comment-location) - [enum-wrapping](https://pinterest.github.io/ktlint/1.0.0/rules/standard/#enum-wrapping) - [function-naming](https://pinterest.github.io/ktlint/1.0.0/rules/standard/#function-naming) - [function-signature](https://pinterest.github.io/ktlint/1.0.0/rules/standard/#function-signature) - [if-else-bracing](https://pinterest.github.io/ktlint/1.0.0/rules/standard/#if-else-bracing) - [multiline-expression-wrapping](https://pinterest.github.io/ktlint/1.0.0/rules/standard/#multiline-expression-wrapping) - [if-else-wrapping](https://pinterest.github.io/ktlint/1.0.0/rules/standard/#if-else-wrapping) - [no-blank-line-in-list](https://pinterest.github.io/ktlint/1.0.0/rules/standard/#no-blank-line-in-list) - [no-consecutive-comments](https://pinterest.github.io/ktlint/1.0.0/rules/standard/#no-consecutive-comments) - [no-empty-file](https://pinterest.github.io/ktlint/1.0.0/rules/standard/#no-empty-file) - [no-empty-first-line-in-class-body](https://pinterest.github.io/ktlint/1.0.0/rules/standard/#no-empty-first-line-in-class-body) - [no-single-line-block-comment](https://pinterest.github.io/ktlint/1.0.0/rules/standard/#no-single-line-block-comment) - [parameter-list-spacing](https://pinterest.github.io/ktlint/1.0.0/rules/standard/#parameter-list-spacing) - [property-naming](https://pinterest.github.io/ktlint/1.0.0/rules/standard/#property-naming) - [statement-wrapping](https://pinterest.github.io/ktlint/1.0.0/rules/standard/#statement-wrapping) - [string-template-indent](https://pinterest.github.io/ktlint/1.0.0/rules/standard/#string-template-indent) - [try-catch-finally-spacing](https://pinterest.github.io/ktlint/1.0.0/rules/standard/#try-catch-finally-spacing) - [type-argument-list-spacing](https://pinterest.github.io/ktlint/1.0.0/rules/standard/#type-argument-list-spacing) - [type-parameter-list-spacing](https://pinterest.github.io/ktlint/1.0.0/rules/standard/#type-parameter-list-spacing) - [unnecessary-parentheses-before-trailing-lambda](https://pinterest.github.io/ktlint/1.0.0/rules/standard/#unnecessary-parentheses-before-trailing-lambda) - Fix statement-wrapping and align rule classes - [#2178](https://togithub.com/pinterest/ktlint/pull/2178), by [@paul-dingemans](https://togithub.com/paul-dingemans)\ Rule class `MultilineExpressionWrapping` has been renamed to `MultilineExpressionWrappingRule`. Rule class `StatementWrapping` has been renamed to `StatementWrappingRule`. `RULE_ID` constants below are moved to a different Java class at compile time. Each rule provided by Ktlint is to be accompanied by a `RULE_ID` constant that can be used in the `VisitorModifier.RunAfter`. Filenames did not comply with standard that it should end with `Rule` suffix. | RULE ID | Old Java class name | New Java class name | |-----------------------------------------|-------------------------------|-----------------------------------| | `FUNCTION_EXPRESSION_BODY_RULE_ID` | FunctionExpressionBodyKt | FunctionExpressionBodyRuleKt | | `FUNCTION_LITERAL_RULE_ID` | FunctionLiteralKt | FunctionLiteralRuleKt | | `MULTILINE_EXPRESSION_WRAPPING_RULE_ID` | MultilineExpressionWrappingKt | MultilineExpressionWrappingRuleKt | | `NO_BLANK_LINE_IN_LIST_RULE_ID` | NoBlankLineInListKt | NoBlankLineInListRuleKt | | `NO_EMPTY_FILE_RULE_ID` | (not applicable) | NoEmptyFileRuleKt | - Update to Kotlin 1.9 & remove TreeCopyHandler extension - [#2113](https://togithub.com/pinterest/ktlint/pull/2113), by [@paul-dingemans](https://togithub.com/paul-dingemans)\ Class `org.jetbrains.kotlin.com.intellij.treeCopyHandler` is no longer registered as extension point for the compiler as this is not supported in Kotlin 1.9. Please test your custom rules. In case of unexpected exceptions during formatting of code, see [#2044](https://togithub.com/pinterest/ktlint/pull/2044) for possible remediation. ##### π Features - Change default code style to `ktlint_official` - [#2144](https://togithub.com/pinterest/ktlint/pull/2144), by [@paul-dingemans](https://togithub.com/paul-dingemans) - Add new experimental rule `class-signature` - [#2119](https://togithub.com/pinterest/ktlint/pull/2119), by [@paul-dingemans](https://togithub.com/paul-dingemans) - Add new experimental rule `function-expression-body` - [#2151](https://togithub.com/pinterest/ktlint/pull/2151), by [@paul-dingemans](https://togithub.com/paul-dingemans) - Add new experimental rule `chain-method-continuation` - [#2088](https://togithub.com/pinterest/ktlint/pull/2088), by [@atulgpt](https://togithub.com/atulgpt) - Add new experimental rule `function-literal` - [#2137](https://togithub.com/pinterest/ktlint/pull/2137), by [@paul-dingemans](https://togithub.com/paul-dingemans) - Add new experimental rule `function-type-modifier-spacing` rule - [#2216](https://togithub.com/pinterest/ktlint/pull/2216), by [@t-kameyama](https://togithub.com/t-kameyama) - Define `EditorConfigOverride` for dynamically loaded ruleset - [#2194](https://togithub.com/pinterest/ktlint/pull/2194), by [@paul-dingemans](https://togithub.com/paul-dingemans)\ The `EditorConfigOverride` parameter of the `KtlintRuleEngine` can be defined using the factory method `EditorConfigOverride.from(vararg properties: PairConfiguration
π Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.