Setup Rubocop in Rails
11 March 2022 (Updated 25 April 2022)
Install gem
Add to Gemfile:
Install gems:
Generate binstubs:
Create .rubocop.yml
file
Run:
Set contents of file to:
Fix safe errors
Fix unsafe errors
Tagged:
Rails tooling
Thanks for your comment . Once it's approved, it will appear here.
Leave a comment