3 ms·
Listing cops with: rubocop --show-cops I can see that the NumericLiterals cop that's bothering you supports autocorrect so running: rubocop -A <filename>
by Lio 3y ago
Listing cops with:
rubocop --show-cops
I can see that the NumericLiterals cop that's bothering you supports autocorrect so running:
rubocop -A <filename>
should fix the problem for you.