RuboCoping with legacy: Bring your Ruby code up to Standard
26-Mar-2020 1320
You will hardly find a Ruby developer who hasn’t heard about RuboCop, the Ruby linter and formatter. And still, it is not that hard to find a project where code style is not enforced. Usually, these are large, mature codebases, often successful ones. Fixing linting and formatting can be a challenge if it wasn’t set up correctly from the get-go. So, your RuboCop sees red! Here’s how to fix it.In this post, I will show you how we at Evil Martians touch up codebases of our customers in 2020: from quick and dirty hacks to proper Standard-enforced style guides, and our own patented way to use Standard and RuboCop configs together.
RuboCoping with legacy: Bring your Ruby code up to Standard #ruby #rubydeveloper #rubyonrails #RuboCoping #legacy: #Bring #Standard #code https://www.rubyonrails.ba/link/rubocoping-with-legacy-bring-your-ruby-code-up-to-standard