-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add rules for hexadecimal, binary and decimal literal prefixes #579
Conversation
73e333f
to
e1080af
Compare
There's also the rather pointless |
f1dacd0
to
f1e6bb0
Compare
@cremno Thanks! Did not know about the And yes, the 4 very similar sections looked kinda ugly. I have combined them into a single section. |
I think you've misunderstood me. The following would make sense to me:
And maybe (@bbatsov?):
|
|
My comment is just an example of how I would arrange the sections. I didn't want to propose anything in it as official wording or criticize yours. |
Related to rubocop#578 @bbatsov suggested to add rule for hex numbers. I went ahead and added one for binary as well.
f1e6bb0
to
3775216
Compare
Looks good to me. |
Related to rubocop#578 @bbatsov suggested to add rule for hex numbers. I went ahead and added one for binary as well.
Related to rubocop#578 @bbatsov suggested to add rule for hex numbers. I went ahead and added one for binary as well.
Related to #578
@bbatsov suggested to add rule for hex numbers. I went ahead and added
one for binary as well.