Update dependency com.pinterest.ktlint:ktlint-cli to v1.6.0
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| com.pinterest.ktlint:ktlint-cli | 1.3.1 -> 1.6.0 |
Release Notes
pinterest/ktlint (com.pinterest.ktlint:ktlint-cli)
v1.6.0
🆕 Features
-
Add configuration option to handle (certain) annotation with parameters identical to annotations without parameters - #​2950, by @​paul-dingemans
-
Set system properties to prevent failure when running in ktlint-intellij-plugin with custom installation - #​2970, by @​paul-dingemans
-
chore(deps): update dependency gradle to v8.14 - #​2971, by @​renovate[bot]
-
chore(deps): update plugin com.gradle.develocity to v4.0.1 - #​2972, by @​renovate[bot]
-
fix(deps): update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2.2.0-beta2 - #​2977, by @​renovate[bot]
-
fix(deps): update dependency org.ec4j.core:ec4j-core to v1.1.1 - #​2987, by @​renovate[bot]
-
fix(deps): update dependency dev.drewhamilton.poko:poko-gradle-plugin to v0.18.7 - #​2986, by @​renovate[bot]
-
fix(deps): update kotlin monorepo to 2.1.21 - #​2985, by @​renovate[bot]
💬 Other
- ignore
.kotlindirectory - #​2916, by @​mgroth0
v1.5.0
The release of Kotlin 2.1 is the primary reason for publishing this release earlier than planned. Because of the removal of some language elements in Kotlin 2.1, the embedded Kotlin compiler in KtLint blocked Kotlinter users from upgrading to Kotlin 2.1.
🆕 Features
-
Add missing space between
funkeyword and identifier when latter is wrapped between backticks - #​2890, by @​paul-dingemans -
Add configuration setting for constant names in
property-namingrule - #​2893, by @​paul-dingemans -
Allow backing property to be defined in the companion object (
backing-property-naming) - #​2895, by @​paul-dingemans
🔧 Fixes
-
Ignore multi dollar string interpolation prefix in
string-template-indentrule - #​2888, by @​paul-dingemans -
Wrap the expression body in case
.editorconfigpropertyktlint_function_signature_body_expression_wrappingis set toalways- #​2873, by @​paul-dingemans -
Fix false positive when empty parameter list is in between trailing lambda's of a nested call expression - #​2891, by @​paul-dingemans
-
Do not wrap a context receiver in a function parameter type reference - #​2892, by @​paul-dingemans
-
Allow comment before parameter list in function literal (
function-literal) - #​2894, by @​paul-dingemans
📦 Dependencies
-
chore(deps): update plugin com.gradle.develocity to v3.18.2 - #​2865, by @​renovate[bot]
-
chore(deps): update dependency gradle to v8.11.1 - #​2875, by @​renovate[bot]
-
fix(deps): update dependency io.github.hakky54:logcaptor to v2.10.0 - #​2874, by @​renovate[bot]
-
fix(deps): update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2.1.0-rc2 - #​2871, by @​renovate[bot]
-
fix(deps): update dependency io.github.oshai:kotlin-logging-jvm to v7.0.3 - #​2883, by @​renovate[bot]
-
fix(deps): update kotlin monorepo to v2.1.0 - #​2880, by @​renovate[bot]
-
fix(deps): update dependency com.github.ajalt.clikt:clikt to v5.0.2 - #​2886, by @​renovate[bot]
-
chore(deps): update plugin org.gradle.toolchains.foojay-resolver-convention to v0.9.0 - #​2887, by @​renovate[bot]
-
fix(deps): update dependency dev.drewhamilton.poko:poko-gradle-plugin to v0.18.0 - #​2889, by @​renovate[bot]
v1.4.1
🔧 Fixes
- Catch java.lang.NoSuchFieldError when looking for WHEN_ENTRY_GUARD in kotlin version 2.0.1 - #​2857, by @​paul-dingemans
📦 Dependencies
- chore(deps): update plugin shadow to v8.3.5 - #​2851, by @​renovate[bot]
- fix(deps): update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2.1.0-rc - #​2853, by @​renovate[bot]
v1.4.0
🆕 Features
-
Suppress
backing-property-namingon@Suppress("PropertyName")- #​2741, by @​paul-dingemans -
Check that code can still be parsed after a format - #​2742, by @​paul-dingemans
-
Support suppressing backing-property-naming via ObjectPropertyName - #​2751, by @​Goooler
-
Ignore properties starting with
_inbacking-property-namingrule - #​2753, by @​paul-dingemans -
Suppress
backing-property-namingrule with@Suppress("LocalVariableName")- #​2785, by @​paul-dingemans -
Do not repeat formatting if file is unchanged - #​2805, by @​paul-dingemans
-
Add new rule
when-entry-bracing- #​2829, by @​paul-dingemans -
Add
.editorconfigpropertyij_kotlin_indent_before_arrow_on_new_line- #​2838, by @​paul-dingemans -
Add CLI option
--stdin-pathto provide a virtual file location for stdin - #​2836, by @​adecker89 -
Add property
.editorconfigpropertyktlint_enum_entry_name_casing- #​2839, by @​paul-dingemans
🔧 Fixes
-
Prevent line separators to be changed from CRLF to LF - #​2752, by @​paul-dingemans
-
fix: don't remove arrow from lambdas that are when/if leaf nodes - #​2758, by @​tKe
-
Fix false positive in
no-semirule for enum class without enum entries - #​2774, by @​paul-dingemans -
Prevent conflict between
multiline-expression-wrappingandfunction-signature- #​2775, by @​paul-dingemans -
Ignore
max_line_lengthproperty unlessmax-line-lengthrule is enabled - #​2783, by @​paul-dingemans -
Fix false positive in
class-signaturewhen EOL comment is between a class annotation and other class modifier - #​2786, by @​paul-dingemans -
Fix globs ending with
**- #​2787, by @​paul-dingemans -
Return exit code 1 in case violations have been found but file is unchanged - #​2803, by @​paul-dingemans
-
Ignore missing whitespace after trailing comma in single line parameter value list - #​2806, by @​paul-dingemans
-
Remove HEADER_KEYWORD & IMPL_KEYWORD - #​2810, by @​3flex
-
Function signature rule ignores context receiver when on separate line - #​2814, by @​paul-dingemans
-
Do not remove imports for which the fully qualified path is identical to the package name - #​2822, by @​paul-dingemans
-
Fix indentation of a multiline parameter list inside a function literal for code style
ktlint_official- #​2823, by @​paul-dingemans -
Do not insert a trailing comma in a multiline when-entry containing a guard - #​2825, by @​paul-dingemans
-
Fix wrapping of expression body when
max_line_lengthnot set - #​2833, by @​paul-dingemans
📦 Dependencies
-
Update dependency io.github.oshai:kotlin-logging-jvm to v7 - #​2701, by @​renovate[bot]
-
Update dependency org.assertj:assertj-core to v3.26.3 - #​2738, by @​renovate[bot]
-
Update mikepenz/release-changelog-builder-action action to v5 - #​2756, by @​renovate[bot]
-
chore(deps): update plugin kotlinx-binary-compatibiltiy-validator to v0.16.3 - #​2759, by @​renovate[bot]
-
fix(deps): update dependency org.slf4j:slf4j-simple to v2.0.16 - #​2764, by @​renovate[bot]
-
Migrate to com.gradleup.shadow - #​2763, by @​Goooler
-
chore(deps): update gradle/actions action to v4 - #​2760, by @​renovate[bot]
-
chore(deps): update plugin com.gradle.develocity to v3.18.1 - #​2792, by @​renovate[bot]
-
chore(deps): update dependency gradle to v8.10.2 - #​2812, by @​renovate[bot]
-
chore(deps): update plugin shadow to v8.3.3 - #​2820, by @​renovate[bot]
-
fix(deps): update dependency com.github.ajalt.clikt:clikt to v5.0.1 - #​2828, by @​renovate[bot]
-
chore(deps): update kotlin monorepo to v2.0.21 - #​2831, by @​renovate[bot]
-
fix(deps): update dependency org.ec4j.core:ec4j-core to v1.1.0 - #​2832, by @​renovate[bot]
-
fix(deps): update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2.1.0-beta2 - #​2834, by @​renovate[bot]
-
fix(deps): update dependency dev.drewhamilton.poko:poko-gradle-plugin to v0.17.2 - #​2837, by @​renovate[bot]
-
fix(deps): update dependency org.junit.jupiter:junit-jupiter to v5.11.3 - #​2840, by @​renovate[bot]
-
chore(deps): update actions/checkout digest to
11bd719- #​2841, by @​renovate[bot]
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.