Code Style Consistency for Shopify’s Decade-Old Codebase - Shopify
Sep 22, 2017

Summary
This post details the introduction of RuboCop and the development of Policial, a wrapper around RuboCop that runs on pull requests. It describes the evolution of Policial from commenting on lines to using GitHub's commit status API for a less noisy experience. The post also covers the strategy for fixing existing violations by using a bot for Git history and enforcing RuboCop in CI to prevent re-introduction of violations.