Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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 Fall 2025 batch! Applications are open till Aug 4

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

Search: