We’re back talking about static analysis today here at The Developers’ Bakery! We’re really excited to have on stage Nacho Lopez to talk about Compose Rules.

This project is a collection of linting and inspection rules for Jetpack Compose, which prevents you from making common mistakes and helps you write better and more performant UI code. You can use this rule with either KtLint or Detekt.

In this episode, we’ll also touch on how this project started inside Twitter, and now ends up living into Nacho’s personal fork.

Enjoy the show 👨‍🍳

Show Notes

  • 00.00 Intro
  • 00.45 Episode Start
  • 01.03 Nacho’s Introduction
  • 04.21 What is compose-rules?
  • 08.39 Compose Antipatterns
  • 13.47 How to use compose-rules?
  • 15.28 Writing custom rules
  • 19.56 The Twitter drama
  • 29.23 Living in a fork
  • 36.09 What’s next for compose-rules?
  • 42.39 Further reading
  • 44.41 Where people can find you online?

Resources

Show links

Posted: