New: Implement ModifierComposed check to lint against use of Modifier.composed, which is no longer recommended in favor of the new Modifier.Node API.
New: Implement ComposeUnstableReceiver check to warn when composable extension functions or composables instance functions have unstable receivers/containing classes.
New: Check for property accessors with composition locals.
Enhancement: The ComposeComposableModifier message now recommends the new Modifier.Node API.
Enhancement: Make lints significantly more robust to edge cases like typealiases, import aliases, parentheses, fully-qualified references, and whitespace. Our tests now cover all these cases.
Enhancement: Update @Preview detection to also detect Compose Desktop's own @Preview annotation.
Enhancement: Improve the ComposeParameterOrder check to only lint the parameter list and add a quickfix.
Enhancement: Add support for checking for loops in multiple content emitters.
Fix: Fix allowed names config for Unit-returning functions.
Fix: Ignore context receivers in multiple content emissions lint.
Fix: Allow nullable types for trailing lambdas in ComposeParameterOrder.
Fix: Best-effort work around name mangling when comparing name in M2ApiDetector's allow list.
Fix: Fix ComposePreviewPublic to always just require private, remove preview parameter configuration.
Docs: Improve docs for ComposeContentEmitterReturningValues
New: Implement ModifierComposed check to lint against use of Modifier.composed, which is no longer recommended in favor of the new Modifier.Node API.
New: Implement ComposeUnstableReceiver check to warn when composable extension functions or composables instance functions have unstable receivers/containing classes.
New: Check for property accessors with composition locals.
Enhancement: The ComposeComposableModifier message now recommends the new Modifier.Node API.
Enhancement: Make lints significantly more robust to edge cases like typealiases, import aliases, parentheses, fully-qualified references, and whitespace. Our tests now cover all these cases.
Enhancement: Update @Preview detection to also detect Compose Desktop's own @Preview annotation.
Enhancement: Improve the ComposeParameterOrder check to only lint the parameter list and add a quickfix.
Enhancement: Add support for checking for loops in multiple content emitters.
Fix: Fix allowed names config for Unit-returning functions.
Fix: Ignore context receivers in multiple content emissions lint.
Fix: Allow nullable types for trailing lambdas in ComposeParameterOrder.
Fix: Best-effort work around name mangling when comparing name in M2ApiDetector's allow list.
Fix: Fix ComposePreviewPublic to always just require private, remove preview parameter configuration.
Docs: Improve docs for ComposeContentEmitterReturningValues
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps com.slack.lint.compose:compose-lint-checks from 1.2.0 to 1.3.1.
Release notes
Sourced from com.slack.lint.compose:compose-lint-checks's releases.
... (truncated)
Changelog
Sourced from com.slack.lint.compose:compose-lint-checks's changelog.
Commits
e0bd6ae
Prepare for release 1.3.1.519b433
Update snapshot versiona0310dd
Prepare next development version.cf60c26
Prepare for release 1.3.0.d864bf5
Add name mangling workaround (#253)a5cc45d
Update plugin spotless to v6.25.0 (#255)cdea165
Update lint-latest to v31.4.0-alpha06 (#254)19f8e68
Update lint-latest to v31.4.0-alpha05 (#246)5b378e6
Update dependency com.android.tools.lint:lint-api to v31.2.2 (#250)118f5bd
Update dependency mkdocs-material to v9.5.5 (#251)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show