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
4k
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.2k
Yla's #Kaigieffect
little_rubyist
0
8.5k
元富山県民から見たRubyコミュニティ
little_rubyist
0
710
Other Decks in Programming
See All in Programming
「なぜそう決めたのか」を残し続ける仕組み ― Notion AI カスタムエージェント × Slack連携による設計判断の自動記録 - NIKKEI Tech Talk #47
niftycorp
PRO
0
120
生成AI時代にこそ効くGo | Why Go Works in the Age of Generative AI
mom0tomo
8
3.2k
The Arts and Crafts of Work in the AI Era — Toward Mastery in Software Development
kuranuki
1
750
Dataformのリポジトリを立ち上げるときにまずやること / dataform-day0-2026
snhryt
0
150
Observability in Practice:Grafana 與 Edge Device SRE 的那些事
blueswen
0
160
Hunting Vulnerabilities in Symfony with LLMs
vinceamstoutz
0
540
Why Laravel apps break—Mastering the fundamentals to keep them maintainable
kentaroutakeda
1
350
PHPで使える日時の表現と、その知り方 #frontend_phpcon_do
o0h
PRO
0
230
Semantic Version 単位で戦略を柔軟に変えて、パッケージアップデートを自動化する
daitasu
0
220
AIだと陥りがちなJakarta EE最新技術への移行時の落とし穴と解決策
tnagao7
0
100
ふつうのFeature Flag実践入門
irof
7
3.7k
Javaの型とAI時代に型が大事な理由 / java types and type in AI era
kishida
2
130
Featured
See All Featured
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
570
Visualization
eitanlees
152
17k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
240
The SEO identity crisis: Don't let AI make you average
varn
0
490
A designer walks into a library…
pauljervisheath
211
24k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.7k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Practical Orchestrator
shlominoach
191
11k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.5k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.5k
Heart Work Chapter 1 - Part 1
lfama
PRO
7
36k
A Tale of Four Properties
chriscoyier
163
24k
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!