If you run it with rubocop -a (or equivalent shortcut in your editor) it will fix what it can.
rubocop -a
If you run it with
rubocop -a
(or equivalent shortcut in your editor) it will fix what it can.