Update dependency io.nlopez.compose.rules:ktlint to v0.6.0#4451
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #4451 +/- ##
========================================
Coverage 52.27% 52.27%
========================================
Files 456 456
Lines 12202 12202
Branches 2119 2119
========================================
Hits 6378 6378
Misses 5202 5202
Partials 622 622 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
frett
approved these changes
Jun 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
0.5.9→0.6.0Release Notes
mrmans0n/compose-rules (io.nlopez.compose.rules:ktlint)
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.
StaleRememberUpdatedStateInRememberto find sneaky misuses of rememberUpdatedStateMissingReadOnlyComposableto find composables that could be optimized by being annotated by@ReadOnlyComposable.InvalidReadOnlyComposableto find annotated@ReadOnlyComposables that shouldn't be.UnnecessaryComposableto find composables that don't need to be composable functions.VarsWithoutStateBackingto find potential misuses of var in a composable function.ConditionHoistto 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 rule, as they are the first rules that are actually using type resolution.
What's changed
StaleRememberUpdatedStateInRememberdetekt rule (#642) @mrmans0nDependency Matrix
Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.