Compose Rules provides static analysis rules for Jetpack Compose projects, helping Kotlin developers catch common API design, state management, modifier, naming, preview, and composable structure issues before code review.
The rules are designed for use with ktlint and detekt, making them suitable for Android teams that want enforceable guidance for healthier Compose adoption.
This is free and open source software.
Key Features
- Provides Jetpack Compose lint rules for ktlint and detekt.
- Checks common Compose state handling issues, including missing remember usage and mutable state parameters.
- Enforces guidance for composable function naming, parameter ordering, content slots, and preview visibility.
- Includes modifier rules covering ordering, default parameters, reuse, and placement.
- Documents each rule with explanations to help teams understand the reason behind the checks.
Website: github.com/mrmans0n/compose-rules
Support:
Developer: Nacho Lopez
License: Apache License 2.0
Compose Rules is written in Kotlin. Learn Kotlin with our recommended free books and free tutorials.
Related Software
| R Static Site Generators | |
|---|---|
| Bookdown | R package to facilitate writing books |
| rmarkdown | Create dynamic analysis documents combining code, rendered output, and prose |
| Blogdown | Powerful and customizable website output format for R Markdown |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

