Twitter Compose Rules is a set of custom ktlint rules to ensure that your compostables don't fall into common pitfalls, that might be easy to miss in code reviews. It can be challenging for big teams to start adopting Compose, particularly because not everyone will start at the same time or with the same patterns. Twitter tried to ease the pain by creating a set of Compose static checks. Compose has lots of superpowers but also has a bunch of foot guns to be aware of as seen in this Twitter Thread. This is where our static checks come in. We want to detect as many potential issues as we can, as quickly as we can. In this case, we want an error to show prior to engineers having to review the code. Similar to other static check libraries we hope this leads to a "don't shoot the messengers" philosophy which will foster healthy Compose adoption.

Features

  • Static checks to aid with a healthy adoption of Compose
  • It can be challenging for big teams to start adopting Compose
  • Compose has lots of superpowers but also has a bunch of footguns to be aware of
  • Static checks for Compose bundled in this repo
  • Use with ktlint
  • Use with Detekt

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Twitter's Jetpack Compose Rules

Twitter's Jetpack Compose Rules Web Site

Other Useful Business Software
Cloud data warehouse to power your data-driven innovation Icon
Cloud data warehouse to power your data-driven innovation

BigQuery is a serverless and cost-effective enterprise data warehouse that works across clouds and scales with your data.

BigQuery Studio provides a single, unified interface for all data practitioners of various coding skills to simplify analytics workflows from data ingestion and preparation to data exploration and visualization to ML model creation and use. It also allows you to use simple SQL to access Vertex AI foundational models directly inside BigQuery for text processing tasks, such as sentiment analysis, entity extraction, and many more without having to deal with specialized models.
Try for free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Twitter's Jetpack Compose Rules!

Additional Project Details

Programming Language

Kotlin

Related Categories

Kotlin Static Code Analysis Tool

Registered

2023-03-31