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
AestheticsPro Medical Spa Software Icon
AestheticsPro Medical Spa Software

Our new software release will dramatically improve your medspa business performance while enhancing the customer experience

AestheticsPro is the most complete Aesthetics Software on the market today. HIPAA Cloud Compliant with electronic charting, integrated POS, targeted marketing and results driven reporting; AestheticsPro delivers the tools you need to manage your medical spa business. It is our mission To Provide an All-in-One Cutting Edge Software to the Aesthetics Industry.
Learn More
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