Skip to content
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 section for octal literals #578

Merged
merged 1 commit into from
Jun 2, 2016
Merged

Conversation

tejasbubane
Copy link
Contributor

Prefer 0o over 0 and 0O for octal literals.

Related to rubocop/rubocop#3177

Prefer `0o` over `0` and `0O` for octal literals.
@bbatsov bbatsov merged commit d3baf58 into rubocop:master Jun 2, 2016
@bbatsov
Copy link
Collaborator

bbatsov commented Jun 2, 2016

We can add a similar rule about hex numbers.

@tejasbubane tejasbubane deleted the octal-literals branch June 2, 2016 13:43
tejasbubane added a commit to tejasbubane/ruby-style-guide that referenced this pull request Jun 2, 2016
Related to rubocop#578

@bbatsov suggested to add rule for hex numbers. I went ahead and added
one for binary as well.
tejasbubane added a commit to tejasbubane/ruby-style-guide that referenced this pull request Jun 2, 2016
Related to rubocop#578

@bbatsov suggested to add rule for hex numbers. I went ahead and added
one for binary as well.
tejasbubane added a commit to tejasbubane/ruby-style-guide that referenced this pull request Jun 6, 2016
Related to rubocop#578

@bbatsov suggested to add rule for hex numbers. I went ahead and added
one for binary as well.
tejasbubane added a commit to tejasbubane/ruby-style-guide that referenced this pull request Jun 6, 2016
Related to rubocop#578

@bbatsov suggested to add rule for hex numbers. I went ahead and added
one for binary as well.
tejasbubane added a commit to tejasbubane/ruby-style-guide that referenced this pull request Jun 6, 2016
Related to rubocop#578

@bbatsov suggested to add rule for hex numbers. I went ahead and added
one for binary as well.
tejasbubane added a commit to tejasbubane/ruby-style-guide that referenced this pull request Jun 13, 2016
Related to rubocop#578

@bbatsov suggested to add rule for hex numbers. I went ahead and added
one for binary as well.
bbatsov pushed a commit that referenced this pull request Jun 15, 2016
Related to #578

@bbatsov suggested to add rule for hex numbers. I went ahead and added
one for binary as well.
pocke pushed a commit to pocke/ruby-style-guide that referenced this pull request Feb 7, 2017
Prefer `0o` over `0` and `0O` for octal literals.
pocke pushed a commit to pocke/ruby-style-guide that referenced this pull request Feb 7, 2017
Related to rubocop#578

@bbatsov suggested to add rule for hex numbers. I went ahead and added
one for binary as well.
ellimist pushed a commit to ellimist/ruby-style-guide that referenced this pull request Mar 15, 2017
Prefer `0o` over `0` and `0O` for octal literals.
ellimist pushed a commit to ellimist/ruby-style-guide that referenced this pull request Mar 15, 2017
Related to rubocop#578

@bbatsov suggested to add rule for hex numbers. I went ahead and added
one for binary as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants