RubyKaigi2023のLTでお話しました.
RubyKaigi2022で転職をキメてRuboCopのルールを書いた話Yla Aioi (@Little_Rubyist)Adding custom rule for Rubocop in the 2month of employment
View Slide
今回話す人/Speaker相生ゆら/Yla Aioi@Little_Rubyist @Little-RubyistI am interested in RBS and Rubocop.2023/02~
今回話す人/Speaker相生ゆら/Yla Aioi@Little_Rubyist @Little-RubyistI 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 byPixiv last year.It will be on the day3 again.Job change
I was drunk at the time and said to aRubyist I had just met...Job change
“I've been wanting to work atBOOKWALKER for 6 months~ >_<”Job change
The RubyistJob change
smoothlyJob change
handed me aBOOKWALKER business card.Job change
The Rubyist is an employee of thecompany I wanted to join!Job change
me when I receive twitter DM right after RubyKaigi
casual interview→apply for the job opening→joined the companyJob change
While it is often said that speakingabout your dreams to others canmake them come true,I did NOT anticipate such a rapidpace of eventsJob change
unexpected things like this tend tohappen at RubyKaigiJob change
So, I successfully got into thecompany I wanted to join 🎉Job change
Thank you RubyKaigiThank you RubyMusicMixin
It appears to end here,but there's a bit more to come
Since I've made the effort to join thecompany, I want to deliver resultsAbout RuboCop
What I can do even if I don'tunderstand the project well enough.About RuboCop
A little refactoring(so I’m a “little” Rubyist)About RuboCop
For example, replacing the shortone-line `let` with `{...}`About RuboCop
About RuboCop
About RuboCopAn array of `let` defined in rubocop-rspec
About RuboCopConverting a long one-line `let` to `do...end`
About RuboCopShort one-line `let` is replaced with `{...}`
About RuboCopAST matcher
It became a “little” more convenient
Simple Cops like this are easier towork on
We can write them even withoutfully understanding the project'scontent, which is a great advantage
There are probably many peoplein this venue who are new to Ruby orrecent graduates.
Let's try improving the environmentstarting with the easy stuff 👍
Ruby community is SO good! :)Summary
I am happy to have Ruby as my firstprogramming language
I love RubyistsandRuby community
Happy coding withRuby and community!