Skip to content

ReactiveCircus/compose-lint-rules

Repository files navigation

Compose Lint Rules

CI License

Android Lint rules for Jetpack Compose.

Download

Dependencies are hosted on Maven Central.

implementation "io.github.reactivecircus.composelint:composelint:0.1.0"

Snapshots of the development version are available in Sonatype's snapshots repository.

Lint Rules

  • InvalidComposableFunctionName - A non-returning function marked with a @Composable annotation should start with a capital letter. It is a convention to emphasize the mental model that a @Composable function is a noun rather than a verb.