DEVOURED
Formatting an entire 25 million line codebase overnight: the rubyfmt story
Stripe built rubyfmt, a custom auto-formatter that now formats all 42 million lines of Ruby in the world's largest Ruby codebase.
What: Starting in 2022, Stripe assigned two infrastructure engineers full-time to build rubyfmt, a code formatting tool that now automatically formats 100% of their 42 million line Ruby codebase, solving the visible pain of manual formatting at massive scale.
Original article
Stripe runs the world's largest Ruby codebase. The pain of not having an auto-formatter was visible in how its engineers worked. In 2022, the company set two engineers from its infrastructure team to work full-time on rubyfmt, a tool that is currently being used to format 100% of Stripe's 42 million lines of Ruby. This post tells the story of how rubyfmt came to be.
Explore all 52 articles in today's digest
Fresh dev news, AI-digested daily. Never miss a trend at devoured.fyi