Stripe

Formatting an entire 25 million line codebase overnight: the rubyfmt story

Apr 28, 2026
Formatting an entire 25 million line codebase overnight: the rubyfmt story
SummaryAI, from the source post

This post details the development and rollout of rubyfmt, a Rust-based, zero-config, ultra-fast autoformatter, across Stripe's 25 million line Ruby codebase. It highlights a significant advancement in developer productivity and code standardization, demonstrating Stripe's commitment to maintaining code quality and consistency at scale, which complements the broader theme of agent-based development and infrastructure orchestration.

More from the Stripe Projects and Agent-based Development trail