RuboCop: Modularity and AST Insights
summary
RuboCop replaces fragile monkeypatch injects with a formal plugin system where a plugin class extends Lintroller::Plugin and provides about, supported and rules hooks, and gems advertise the plugin class via gemspec metadata; migration tooling includes rubocop_extension_generator >= 0.6. The LSP integration reuses parsing via a Prism translation layer, letting Ruby LSP and RuboCop share ASTs and avoid reparse giving roughly 1.3x parsing speed and enabling the RuboCop LSP adapter to work, while moving away from the unmaintained parser gem.
AI-written summary · about
chapters (5)
- 0:00Introduction and welcome
- 2:34Plugin system updates
- 16:38Ruby LSP and modularity
- 23:48Parser gem retirement
- 32:03Summary and future








