compose-lints icon indicating copy to clipboard operation
compose-lints copied to clipboard

Lint checks to aid with a healthy adoption of Compose

Results 66 compose-lints issues
Sort by recently updated
recently updated
newest added

[By definition](https://developer.android.com/develop/ui/compose/lifecycle#skipping) non-`Unit` returning functions are not skippable: Signalling a function being "always recomposed" on a non-skippable function seems pointless.

A common issue I find is when using a `when` in a composable and not propagating the `modifier` parameter to all branches, typically when a new branch is added. For...

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [six](https://redirect.github.com/benjaminp/six) | minor | `==1.16.0` -> `==1.17.0` | --- ### Release Notes benjaminp/six (six) ###...

Improves ModifierReusedDetector 1. **Use [DataFlowAnalyzer](https://googlesamples.github.io/android-custom-lint-rules/api-guide.html#dataflowanalyzer)**: It replaces the use of obtainAllModifierNames(), and directly tracks references, not just names. This catches more cases of modifier uses, such as tricky `Row(modifier =...

cla:signed

1. Improve lint fix by preserving original parameters structure: ``` fun Sample( modifier: Modifier = Modifier, text: String ) // Lint fix before fun Sample(text: String, modifier: Modifier = Modifier)...

cla:signed

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [tornado](http://www.tornadoweb.org/) ([source](https://redirect.github.com/tornadoweb/tornado)) | patch | `==6.4.1` -> `==6.4.2` | --- ### Release Notes tornadoweb/tornado (tornado)...

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [mkdocs-macros-plugin](https://redirect.github.com/fralau/mkdocs_macros_plugin) | patch | `==1.3.6` -> `==1.3.7` | --- ### Release Notes fralau/mkdocs_macros_plugin (mkdocs-macros-plugin) ###...

This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [pymdown-extensions](https://redirect.github.com/facelessuser/pymdown-extensions) | `==10.12` -> `==10.17.1` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pymdown-extensions/10.17.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pymdown-extensions/10.12/10.17.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release...

This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [mkdocs-material](https://redirect.github.com/squidfunk/mkdocs-material) ([changelog](https://squidfunk.github.io/mkdocs-material/changelog/)) | `==9.6.12` -> `==9.7.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/mkdocs-material/9.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/mkdocs-material/9.6.12/9.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ###...

This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [com.android.tools.lint:lint-api](http://tools.android.com/) ([source](https://android.googlesource.com/platform/tools/base)) | `31.9.2` -> `31.13.1` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.android.tools.lint:lint-api/31.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.android.tools.lint:lint-api/31.9.2/31.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ###...