New
1.4.0
- New: Implement
SlotReusedlint. See https://slackhq.github.io/compose-lints/rules/#do-not-invoke-slots-in-more-than-once-place for more information. - Enhancement: Report the function name for readability in
ComposeContentEmitterReturningValues. - Enhancement: Check for inherited
@Previewannotations up to four levels. - Enhancement: Allow
@VisibleForTesting/@TestOnly-annotated preview composables to be public. - Fix: Don't report duplicate errors about multiple content emitters.
- Fix: Normalize lint option loading to match with individual issues.
- Fix: Use name of parameter if text is not available.
- Removed: Delete obsolete
ComposeComposableModifierlint check. - Various docs fixes.
- Build against Lint
8.7.0. - Update
apiandminApito (i.e. lint 8.7.0+). It's possible this may work with API 15 but we have not tested it.