
Code Style Consistency for Shopify’s Decade-Old Codebase - Shopify
9/22/2017
Introduced Policial, a wrapper around RuboCop, to enforce code style on pull requests via GitHub webhooks. Improved Policial by integrating with GitHub's commit status API to provide a single status indicator instead of multiple comments. Developed strategies to fix existing code style violations in a large codebase, including using a bot to differentiate bot-generated changes from human changes in Git history. Enforced RuboCop in CI (BuildKite) to fail builds on code style violations, preventing new violations.