$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Adding custom rule for Rubocop in the 2 month o...
Search
Yla Aioi
May 11, 2023
Programming
0
3.8k
Adding custom rule for Rubocop in the 2 month of employment
RubyKaigi2023のLTでお話しました.
Yla Aioi
May 11, 2023
Tweet
Share
More Decks by Yla Aioi
See All by Yla Aioi
受け取る人から提供する人になるということ
little_rubyist
0
1k
何も知らない課金システムを移行した話
little_rubyist
1
2.5k
Yla's #Kaigieffect
little_rubyist
0
8.4k
元富山県民から見たRubyコミュニティ
little_rubyist
0
690
Other Decks in Programming
See All in Programming
AIエージェントを活かすPM術 AI駆動開発の現場から
gyuta
0
240
リリース時」テストから「デイリー実行」へ!開発マネージャが取り組んだ、レガシー自動テストのモダン化戦略
goataka
0
110
WebRTC と Rust と8K 60fps
tnoho
2
1.9k
CSC509 Lecture 14
javiergs
PRO
0
220
全員アーキテクトで挑む、 巨大で高密度なドメインの紐解き方
agatan
8
19k
DSPy Meetup Tokyo #1 - はじめてのDSPy
masahiro_nishimi
1
150
著者と進める!『AIと個人開発したくなったらまずCursorで要件定義だ!』
yasunacoffee
0
120
Microservices Platforms: When Team Topologies Meets Microservices Patterns
cer
PRO
1
930
CSC305 Lecture 17
javiergs
PRO
0
280
【CA.ai #3】Google ADKを活用したAI Agent開発と運用知見
harappa80
0
280
ハイパーメディア駆動アプリケーションとIslandアーキテクチャ: htmxによるWebアプリケーション開発と動的UIの局所的適用
nowaki28
0
360
30分でDoctrineの仕組みと使い方を完全にマスターする / phpconkagawa 2025 Doctrine
ttskch
3
750
Featured
See All Featured
Product Roadmaps are Hard
iamctodd
PRO
55
12k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.1k
GitHub's CSS Performance
jonrohan
1032
470k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
The Language of Interfaces
destraynor
162
25k
KATA
mclloyd
PRO
32
15k
Building Adaptive Systems
keathley
44
2.9k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.3k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
380
Automating Front-end Workflow
addyosmani
1371
200k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
Transcript
RubyKaigi2022で転職をキメて RuboCopのルールを書いた話 Yla Aioi (@Little_Rubyist) Adding custom rule for Rubocop
in the 2 month of employment
今回話す人/Speaker 相生ゆら/Yla Aioi @Little_Rubyist @Little-Rubyist I am interested in RBS
and Rubocop. 2023/02~
今回話す人/Speaker 相生ゆら/Yla Aioi @Little_Rubyist @Little-Rubyist I am interested in RBS
and Rubocop. 2023/02~ talk about today
When was your first RubyKaigi? Job change
Last year was my first time there! (That was a
lot of fun.) Job change
btw, we had a RubyMusicMixin by Pixiv last year. It
will be on the day3 again. Job change
I was drunk at the time and said to a
Rubyist I had just met... Job change
“I've been wanting to work at BOOKWALKER for 6 months~
>_<” Job change
The Rubyist Job change
smoothly Job change
handed me a BOOKWALKER business card. Job change
The Rubyist is an employee of the company I wanted
to join! Job change
me when I receive twitter DM right after RubyKaigi
casual interview →apply for the job opening →joined the company
Job change
While it is often said that speaking about your dreams
to others can make them come true, I did NOT anticipate such a rapid pace of events Job change
unexpected things like this tend to happen at RubyKaigi Job
change
So, I successfully got into the company I wanted to
join 🎉 Job change
Thank you RubyKaigi Thank you RubyMusicMixin
It appears to end here, but there's a bit more
to come
Since I've made the effort to join the company, I
want to deliver results About RuboCop
What I can do even if I don't understand the
project well enough. About RuboCop
A little refactoring (so I’m a “little” Rubyist) About RuboCop
For example, replacing the short one-line `let` with `{...}` About
RuboCop
About RuboCop
About RuboCop An array of `let` defined in rubocop-rspec
About RuboCop Converting a long one-line `let` to `do...end`
About RuboCop Short one-line `let` is replaced with `{...}`
About RuboCop
About RuboCop AST matcher
About RuboCop Converting a long one-line `let` to `do...end`
About RuboCop Short one-line `let` is replaced with `{...}`
It became a “little” more convenient
Simple Cops like this are easier to work on
We can write them even without fully understanding the project's
content, which is a great advantage
There are probably many people in this venue who are
new to Ruby or recent graduates.
Let's try improving the environment starting with the easy stuff
👍
Ruby community is SO good! :) Summary
I am happy to have Ruby as my first programming
language
I love Rubyists and Ruby community
Happy coding with Ruby and community!