ROLE MODELS ARE IMPORTANT: RUBOCOP
summary
Practical guide to using RuboCop as a team enforcer: explains that RuboCop is a RuboCop gem static analyzer with hundreds of cops and a default Ruby Style Guide, shows using a relaxed Ruby style config for small sites and a strict default for a 6–8 person product team, describes running checks in CI on every pull request, excluding legacy code and designer assets, and using the tool’s autocorrect function to fix merged offending commits.
AI-written summary · about
chapters (10)
- 0:00Introduction and background
- 4:02What is RuboCop
- 5:55Coding conventions matter
- 10:08How RuboCop works
- 11:55Choosing RuboCop rules
- 14:01Team and project considerations
- 18:23Enforcing rules in workflow
- 21:32Open-source and design exceptions
- 23:19Summary and best practices
- 24:04Q&A and discussion
related talks
27mSquashing Security Bugs with Rubocop
29mAnalyzing an analyzer - A dive into how RuboCop works
35mRuboCop Sent You a Friend Request
23mEmbracing Code Quality with Rubocop
52mThe Elements of Style in Ruby
23mMental Models for Better Code
21mBlazing-fast Code Indexing for Smarter Ruby Tools
32mExploring RuboCop with MCP
