Hacker News new | past | comments | ask | show | jobs | submit login

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.



Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: