How to use Omakase Rubocop Linter/Formatter Rules for Rails Discussion
Discussion for
How to use Omakase Rubocop Linter/Formatter Rules for Rails
What do you think about having a built-in linter that comes with Rails?
If I'm honest after 20 years of Rails it feels a bit like "too little too late". Standard RB has been around for years so I'm not sure what another set of defaults really helps with apart from the obvious - new rails apps. There's a ton of apps in production that I can see wasting time setting this up and wrestling with issues with their old Rubocop rules. Reading this back it sounds really rather harsh... but fair...? Would love to know how you disagree...
Generally people run bin/rubocop command before committing the code or use git commit hooks to do so?