~/talk

Embracing Code Quality with Rubocop

Talkat RubyConf India 2023 · 2023-08-26..08-27· [ruby, developer-experience]
slides:none on file

Shows how to adopt Rubocop with rails/rspec/performance extensions, generate a Rubocop TODO file to batch legacy offenses, and run autocorrect to change 302 percent-style single-word arrays to bracket form automatically. Demonstrates tuning cops (method length, allowed_methods, redundant_return), using averages to pick max lengths, and exempting specific long methods. Reports technical debt falling from about 8% to 2% and recommends pre-commit hooks plus CI checks to keep standards enforced.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.