The Developers' Bakery

compose-rules with Nacho Lopez


Listen Later

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
    • mrmans0n/compose-rules on GitHub
    • Compose Rules Official Website
    • Mentioned Resources:
      • What is the PSI?
      • PSI Cookbook
      • @mrmans0n on GitHub
      • @mrmans0n on Twitter
      • @nacho on Mastodon
      • Show links
        • Podcast Website
        • The Developers’ Bakery on Spotify
        • The Developers’ Bakery on Apple Podcasts
        • The Developers’ Bakery on Google Podcasts
        • @thebakerydev on Twitter
        • @cortinico on Twitter
        • ...more
          View all episodesView all episodes
          Download on the App Store

          The Developers' BakeryBy Nicola Corti


          More shows like The Developers' Bakery

          View all
          Decoder with Nilay Patel by The Verge

          Decoder with Nilay Patel

          3,156 Listeners