Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reactivecircus/compose-lint-rules
Android Lint rules for Jetpack Compose.
https://github.com/reactivecircus/compose-lint-rules
Last synced: about 1 month ago
JSON representation
Android Lint rules for Jetpack Compose.
- Host: GitHub
- URL: https://github.com/reactivecircus/compose-lint-rules
- Owner: ReactiveCircus
- License: apache-2.0
- Created: 2019-11-16T13:45:53.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-02-18T00:19:29.000Z (almost 2 years ago)
- Last Synced: 2023-07-04T09:26:45.592Z (over 1 year ago)
- Language: Kotlin
- Size: 198 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Compose Lint Rules
![CI](https://github.com/ReactiveCircus/compose-lint-rules/workflows/CI/badge.svg)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)Android Lint rules for **Jetpack Compose**.
## Download
Dependencies are hosted on [Maven Central][maven-central].
```groovy
implementation "io.github.reactivecircus.composelint:composelint:0.1.0"
```Snapshots of the development version are available in [Sonatype's `snapshots` repository][snap].
## 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**.
[maven-central]: https://search.maven.org/search?q=g:io.github.reactivecircus.composelint
[snap]: https://oss.sonatype.org/content/repositories/snapshots/