RubyConf 2021 - All comments must be haiku! Custom linting with RuboCop by Scott Moore, Kari Silva

preview_player
Показать описание
All comments must be haiku! Custom linting with RuboCop by Scott Moore, Kari Silva

RuboCop is great for keeping code quality high by enforcing community-driven Ruby standards in our codebases. But RuboCop can also be easily customized to enforce standards that are unique to our codebase, automatically checking for the things that are most important to us.

In this workshop we'll customize RuboCop to enforce our most important style rule: all comments must be in the form of a haiku! Along the way we'll learn:

the basics of linting and RuboCop itself
a little about abstract syntax trees
how to build powerful custom tooling to enforce almost any standard we can think of!
Рекомендации по теме