Skip to content

chore: update detekt.compose to v0.6.0#147

Merged
matejdro merged 1 commit into
mainfrom
renovate/detekt.compose
Jun 17, 2026
Merged

chore: update detekt.compose to v0.6.0#147
matejdro merged 1 commit into
mainfrom
renovate/detekt.compose

Conversation

@renovate

@renovate renovate Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
io.nlopez.compose.rules:detekt 0.5.90.6.0 age confidence

Release Notes

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

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: (in timezone Europe/Ljubljana)

  • Branch creation
    • Between 05:00 PM and 11:59 PM, only on Tuesday (* 17-23 * * 2)
  • 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.

@matejdro matejdro merged commit 08cc306 into main Jun 17, 2026
3 checks passed
@matejdro matejdro deleted the renovate/detekt.compose branch June 17, 2026 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant