saveourtool / diktat

Strict coding standard for Kotlin and a custom set of rules for detecting code smells, code style issues and bugs
https://diktat.saveourtool.com
MIT License
521 stars 39 forks source link

Update Ktlint to v1.0.1 #1763

Closed renovate[bot] closed 10 months ago

renovate[bot] commented 10 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.pinterest.ktlint:ktlint-cli-reporter-sarif 1.0.0 -> 1.0.1 age adoption passing confidence
com.pinterest.ktlint:ktlint-cli-reporter-plain 1.0.0 -> 1.0.1 age adoption passing confidence
com.pinterest.ktlint:ktlint-cli-reporter-json 1.0.0 -> 1.0.1 age adoption passing confidence
com.pinterest.ktlint:ktlint-cli-reporter-html 1.0.0 -> 1.0.1 age adoption passing confidence
com.pinterest.ktlint:ktlint-cli-reporter-checkstyle 1.0.0 -> 1.0.1 age adoption passing confidence
com.pinterest.ktlint:ktlint-cli-reporter-baseline 1.0.0 -> 1.0.1 age adoption passing confidence
com.pinterest.ktlint:ktlint-cli-reporter-core 1.0.0 -> 1.0.1 age adoption passing confidence
com.pinterest.ktlint:ktlint-cli-ruleset-core 1.0.0 -> 1.0.1 age adoption passing confidence
com.pinterest.ktlint:ktlint-logger 1.0.0 -> 1.0.1 age adoption passing confidence
com.pinterest.ktlint:ktlint-rule-engine-core 1.0.0 -> 1.0.1 age adoption passing confidence
com.pinterest.ktlint:ktlint-rule-engine 1.0.0 -> 1.0.1 age adoption passing confidence

[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

pinterest/ktlint (com.pinterest.ktlint:ktlint-cli-reporter-sarif) ### [`v1.0.1`](https://togithub.com/pinterest/ktlint/blob/HEAD/CHANGELOG.md#101---2023-10-13) [Compare Source](https://togithub.com/pinterest/ktlint/compare/1.0.0...1.0.1) ##### πŸ†• Features - Add `.editorconfig` property `ktlint_function_naming_ignore_when_annotated_with` so that rule `function-naming` can be ignored based on annotations on that rule. See [function-naming](https://pinterest.github.io/ktlint/1.0.1/rules/standard/#function-naming). ##### πŸ”§ Fixes - Update badge for Maven Central - [#​2245](https://togithub.com/pinterest/ktlint/pull/2245), by [@​Goooler](https://togithub.com/Goooler) - Fix code style parameter in cli - [#​2241](https://togithub.com/pinterest/ktlint/pull/2241), by [@​paul-dingemans](https://togithub.com/paul-dingemans) - Anonymous function in assignment - [#​2263](https://togithub.com/pinterest/ktlint/pull/2263), by [@​paul-dingemans](https://togithub.com/paul-dingemans) - Fix indent of multiline object declaration inside class - [#​2266](https://togithub.com/pinterest/ktlint/pull/2266), by [@​paul-dingemans](https://togithub.com/paul-dingemans) - Do not replace function body with multiple exit points - [#​2273](https://togithub.com/pinterest/ktlint/pull/2273), by [@​paul-dingemans](https://togithub.com/paul-dingemans) - Ignore override of function in rule `function-naming` - [#​2274](https://togithub.com/pinterest/ktlint/pull/2274), by [@​paul-dingemans](https://togithub.com/paul-dingemans) - Suppress `function-naming` based on annotations - [#​2275](https://togithub.com/pinterest/ktlint/pull/2275), by [@​paul-dingemans](https://togithub.com/paul-dingemans) - Force blank line before object declaration - [#​2287](https://togithub.com/pinterest/ktlint/pull/2287), by [@​paul-dingemans](https://togithub.com/paul-dingemans) - Multiline expression wrapping - [#​2290](https://togithub.com/pinterest/ktlint/pull/2290), by [@​paul-dingemans](https://togithub.com/paul-dingemans) - Ignore function naming in Kotest classes - [#​2291](https://togithub.com/pinterest/ktlint/pull/2291), by [@​paul-dingemans](https://togithub.com/paul-dingemans) - Improve violation message in `discouraged-comment-location` - [#​2293](https://togithub.com/pinterest/ktlint/pull/2293), by [@​paul-dingemans](https://togithub.com/paul-dingemans) - Fix malformed AST when `&&` or `||` is at start of line `chain-wrapping` - [#​2300](https://togithub.com/pinterest/ktlint/pull/2300), by [@​paul-dingemans](https://togithub.com/paul-dingemans) - Do not report false positives `type-argument-list-spacing` and `type-parameter-list-spacing` - [#​2303](https://togithub.com/pinterest/ktlint/pull/2303), by [@​paul-dingemans](https://togithub.com/paul-dingemans) - Fix chain method continuation containing higher order function call - [#​2305](https://togithub.com/pinterest/ktlint/pull/2305), by [@​paul-dingemans](https://togithub.com/paul-dingemans) ##### πŸ“¦ Dependencies - Update dependency io.github.detekt.sarif4k:sarif4k to v0.5.0 - [#​2277](https://togithub.com/pinterest/ktlint/pull/2277), by [@​renovate](https://togithub.com/renovate)\[bot] - Update dependency gradle to v8.4 - [#​2294](https://togithub.com/pinterest/ktlint/pull/2294), by [@​renovate](https://togithub.com/renovate)\[bot] - Update actions/checkout action to v4 - [#​2225](https://togithub.com/pinterest/ktlint/pull/2225), by [@​renovate](https://togithub.com/renovate)\[bot] - Update actions/checkout digest to [`8ade135`](https://togithub.com/pinterest/ktlint/commit/8ade135) - [#​2295](https://togithub.com/pinterest/ktlint/pull/2295), by [@​renovate](https://togithub.com/renovate)\[bot] ##### πŸ’¬ Other - Simple property assignments in KTS - [#​2123](https://togithub.com/pinterest/ktlint/pull/2123), by [@​Goooler](https://togithub.com/Goooler)

Configuration

πŸ“… 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.

codecov[bot] commented 10 months ago

Codecov Report

Merging #1763 (1e99f5c) into master (f86d451) will not change coverage. The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #1763   +/-   ##
=========================================
  Coverage     76.75%   76.75%           
  Complexity     2301     2301           
=========================================
  Files           126      126           
  Lines          8295     8295           
  Branches       2081     2081           
=========================================
  Hits           6367     6367           
  Misses          997      997           
  Partials        931      931           
github-actions[bot] commented 10 months ago

JUnit Tests (macOS, EnricoMi/publish-unit-test-result-action@v2)

βŸβ€„β€ˆ164 files  Β±0β€‚β€ƒβŸβ€„β€ˆ164 suites  Β±0   5m 58s :stopwatch: +30s 1β€ˆ380 tests Β±0  1β€ˆ325 :heavy_check_mark: Β±0  55 :zzz: Β±0  0 :x: Β±0  2β€ˆ759 runs  Β±0  2β€ˆ704 :heavy_check_mark: Β±0  55 :zzz: Β±0  0 :x: Β±0 

Results for commit 1de2a274. ± Comparison against base commit efb30b5e.

github-actions[bot] commented 10 months ago

JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

βŸβ€„β€ˆ164 files  Β±0β€‚β€ƒβŸβ€„β€ˆ164 suites  Β±0   7m 32s :stopwatch: - 1m 56s 1β€ˆ380 tests Β±0  1β€ˆ337 :heavy_check_mark: Β±0  43 :zzz: Β±0  0 :x: Β±0  2β€ˆ759 runs  Β±0  2β€ˆ716 :heavy_check_mark: Β±0  43 :zzz: Β±0  0 :x: Β±0 

Results for commit 1de2a274. ± Comparison against base commit efb30b5e.