One Code Style for All: Taming SwiftLint at Company Scale
summary
A system for centralizing SwiftLint rules using SwiftLint Remote Configs and a single GitLab repository is presented, so company-wide rules are managed centrally while teams can still extend them. The talk covers the architecture, integration examples, pitfalls, and a hierarchical config model (corporate → division → team → project) to enforce one code style, reduce review debates, and speed onboarding.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 1:04Speaker intro
- 3:13Code style management issues
- 7:12What is SwiftLint
- 8:40Parent config inheritance
- 11:29Remote config discovery
- 13:16How remote config works
- 16:52Error handling in remote config
- 17:36Classifying SwiftLint rules
- 18:58Practical rule organization
- 20:02Storing configs in Git
- 22:08Private repo handling
- 22:49Baseline files for legacy
- 23:52Alternatives Detekt SonarQube
- 25:58Results and benefits
- 27:47Q&A
