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
Yla Aioi
May 11, 2023
Programming
4.1k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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.3k
Yla's #Kaigieffect
little_rubyist
0
8.6k
元富山県民から見たRubyコミュニティ
little_rubyist
0
710
Other Decks in Programming
See All in Programming
霧の中の代数的エフェクト
funnyycat
1
350
継続モナドとリアクティブプログラミング
yukikurage
3
520
Vue × Nuxt × Oxc どこまで使える?実運用の現在地
andpad
0
370
AIを活用したE2Eテスト実装効率化のあゆみ / ebisu-mobile-14-kotetu
kotetuco
0
170
ローカルLLMでどこまでコードが書けるか -拡張版 / How much code can be written on a local LLM Extended
kishida
12
4.7k
【やさしく解説 設計編・中級 #4】ルールの寿命と、システムの年輪
panda728
PRO
2
130
Claude Team Plan導入・ガイド
tk3fftk
0
180
トークンをケチるな、設計しろ:GitHub Copilotを賢く使うコンテキスト戦略
ochtum
0
310
AI がコードを書く時代における新卒エンジニアの仕事風景 (2026) / New Graduate Engineers in the Era of AI Coding (2026)
sushichan044
0
220
LLMによるContent Moderationの本番運用の裏側と品質担保への挑戦
suikabar
3
840
1年で人数1.5倍、PR数5.5倍増。 品質とアウトカムはどうなったか、 何が効いたか
ike002jp
0
120
Performance Engineering for Everyone
elenatanasoiu
0
270
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
First, design no harm
axbom
PRO
2
1.2k
Building AI with AI
inesmontani
PRO
1
1.1k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
320
The Pragmatic Product Professional
lauravandoore
37
7.4k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Unsuck your backbone
ammeep
672
58k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.3k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
310
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
220
HDC tutorial
michielstock
2
740
Being A Developer After 40
akosma
91
590k
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!