Skip to content

Update ktlint to v0.6.1#983

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ktlint
Open

Update ktlint to v0.6.1#983
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ktlint

Conversation

@renovate

@renovate renovate Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
io.nlopez.compose.rules:ktlint 0.5.90.6.1 age confidence

Release Notes

mrmans0n/compose-rules (io.nlopez.compose.rules:ktlint)

v0.6.1

What's changed

Dependency Matrix

linter version kotlin version
detekt 2.0.0-alpha.4 2.4.0
ktlint 1.8.0 2.2.21

v0.6.0

🎉 A few new rules for you all

For both detekt and ktlint:

  • ComposableNestingDepth, an opt-in rule to add a limit to how many nested content emitters could be used.

And these are detekt exclusive, as they require the Kotlin Analysis API.

  • StaleRememberUpdatedStateInRemember to find sneaky misuses of rememberUpdatedState
  • MissingReadOnlyComposable to find composables that could be optimized by being annotated by @ReadOnlyComposable.
  • InvalidReadOnlyComposable to find annotated @ReadOnlyComposables that shouldn't be.
  • UnnecessaryComposable to find composables that don't need to be composable functions.
  • VarsWithoutStateBacking to find potential misuses of var in a composable function.
  • ConditionHoist to find issues where the contents of a slotted composable function don't emit anything due to branching code.

This is a significant departure for this ruleset, as they are the first rules that are actually using type resolution.

What's changed

Dependency Matrix

linter version kotlin version
detekt 2.0.0-alpha.3 2.3.21
ktlint 1.8.0 2.2.21

Configuration

📅 Schedule: (UTC)

  • 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.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Jun 8, 2026
@renovate renovate Bot changed the title Update ktlint to v0.6.0 Update ktlint to v0.6.1 Jun 14, 2026
@renovate renovate Bot force-pushed the renovate/ktlint branch from 7117c9d to 88f765a Compare June 14, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants