Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
1.1k
何も知らない課金システムを移行した話
little_rubyist
1
2.6k
Yla's #Kaigieffect
little_rubyist
0
8.4k
元富山県民から見たRubyコミュニティ
little_rubyist
0
690
Other Decks in Programming
See All in Programming
【Streamlit x Snowflake】データ基盤からアプリ開発・AI活用まで、すべてをSnowflake内で実現
ayumu_yamaguchi
1
120
LLM Çağında Backend Olmak: 10 Milyon Prompt'u Milisaniyede Sorgulamak
selcukusta
0
120
TestingOsaka6_Ozono
o3
0
170
Giselleで作るAI QAアシスタント 〜 Pull Requestレビューに継続的QAを
codenote
0
230
バックエンドエンジニアによる Amebaブログ K8s 基盤への CronJobの導入・運用経験
sunabig
0
160
GISエンジニアから見たLINKSデータ
nokonoko1203
0
150
生成AIを利用するだけでなく、投資できる組織へ
pospome
2
350
MAP, Jigsaw, Code Golf 振り返り会 by 関東Kaggler会|Jigsaw 15th Solution
hasibirok0
0
250
AIエージェントの設計で注意するべきポイント6選
har1101
4
280
宅宅自以為的浪漫:跟 AI 一起為自己辦的研討會寫一個售票系統
eddie
0
510
大体よく分かるscala.collection.immutable.HashMap ~ Compressed Hash-Array Mapped Prefix-tree (CHAMP) ~
matsu_chara
2
220
20251212 AI 時代的 Legacy Code 營救術 2025 WebConf
mouson
0
190
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1032
470k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Bash Introduction
62gerente
615
210k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.3k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
1k
How to train your dragon (web standard)
notwaldorf
97
6.4k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
980
Measuring & Analyzing Core Web Vitals
bluesmoon
9
710
Designing for Performance
lara
610
69k
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!