Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Yla Aioi
May 11, 2023
Programming
4k
0
Share
Adding custom rule for Rubocop in the 2 month of employment
RubyKaigi2023のLTでお話しました.
Yla Aioi
May 11, 2023
More Decks by Yla Aioi
See All by Yla Aioi
受け取る人から提供する人になるということ
little_rubyist
0
1.2k
何も知らない課金システムを移行した話
little_rubyist
1
3.1k
Yla's #Kaigieffect
little_rubyist
0
8.5k
元富山県民から見たRubyコミュニティ
little_rubyist
0
710
Other Decks in Programming
See All in Programming
Kubernetesを使わない環境にもCloud Nativeなデプロイを実現する / Enabling Cloud Native deployments without the complexity of Kubernetes
linyows
3
330
リセットCSSを1行消したらアクセシビリティが向上した話
pvcresin
4
490
Structured Concurrency, Scoped Values and Joiners in the JDK 25 26 27
josepaumard
1
150
Explore CoroutineScope
tomoeng11
0
170
Cache-moi si tu peux : patterns et pièges du cache en production - Devoxx France 2026 - Conférence
slecache
0
340
サークル参加から学ぶ、小さな事業の回し方
yuzneri
0
150
Spec-Driven Development with AI Agents (Workshop, May 2026)
antonarhipov
3
330
〜バイブコーディングを超えて〜 チームで実験し続けたAI駆動開発
tigertora7571
0
190
How We Benchmarked Quarkus: Patterns and anti-patterns
hollycummins
1
180
「OSSがあるなら自作するな」は AI時代も正しいか ── Build vs Adopt の新しい判断基準
kumorn5s
7
2.2k
Are We Really Coding 10× Faster with AI?
kohzas
0
130
SREに優しいTerraform構成 modulesとstateの組み方
hiyanger
2
170
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Side Projects
sachag
455
43k
Optimising Largest Contentful Paint
csswizardry
37
3.7k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
230
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1k
Producing Creativity
orderedlist
PRO
348
40k
Writing Fast Ruby
sferik
630
63k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
360
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
500
We Have a Design System, Now What?
morganepeng
55
8.1k
The browser strikes back
jonoalderson
0
1k
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!