Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.3.1
->1.4.0
5.11.2
->5.11.3
1.5.11
->1.5.12
Release Notes
pinterest/ktlint (com.pinterest.ktlint:ktlint-cli)
v1.4.0
Compare Source
🆕 Features
Suppress
backing-property-naming
on@Suppress("PropertyName")
- #2741, by @paul-dingemansCheck 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-naming
rule - #2753, by @paul-dingemansSuppress
backing-property-naming
rule with@Suppress("LocalVariableName")
- #2785, by @paul-dingemansDo not repeat formatting if file is unchanged - #2805, by @paul-dingemans
Add new rule
when-entry-bracing
- #2829, by @paul-dingemansAdd
.editorconfig
propertyij_kotlin_indent_before_arrow_on_new_line
- #2838, by @paul-dingemansAdd CLI option
--stdin-path
to provide a virtual file location for stdin - #2836, by @adecker89Add property
.editorconfig
propertyktlint_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-semi
rule for enum class without enum entries - #2774, by @paul-dingemansPrevent conflict between
multiline-expression-wrapping
andfunction-signature
- #2775, by @paul-dingemansIgnore
max_line_length
property unlessmax-line-length
rule is enabled - #2783, by @paul-dingemansFix false positive in
class-signature
when EOL comment is between a class annotation and other class modifier - #2786, by @paul-dingemansFix globs ending with
**
- #2787, by @paul-dingemansReturn 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-dingemansDo 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_length
not 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 - "before 9am on Saturday every 1 week" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.