-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Style/VariableNumber does not allow digits in the middle #3514
Labels
Comments
Seeing the same thing.
Reference: https://travis-ci.org/jekyll/jekyll/jobs/161430798 |
parkr
added a commit
to jekyll/jekyll
that referenced
this issue
Sep 20, 2016
Appears to be a false positive. Tracked in rubocop/rubocop#3514.
b-t-g
pushed a commit
to b-t-g/rubocop
that referenced
this issue
Sep 22, 2016
…sion and relevant tests.
kyrylo
added a commit
to airbrake/airbrake-ruby
that referenced
this issue
Sep 23, 2016
It is currently bugged: * rubocop/rubocop#3514 * rubocop/rubocop#3516 * rubocop/rubocop#3519
10 tasks
b-t-g
pushed a commit
to b-t-g/rubocop
that referenced
this issue
Sep 24, 2016
…fines normal case by allowing numbers after the first underscore.
kyrylo
added a commit
to airbrake/airbrake-ruby
that referenced
this issue
Sep 28, 2016
It is currently bugged: * rubocop/rubocop#3514 * rubocop/rubocop#3516 * rubocop/rubocop#3519
mikezter
added a commit
to mikezter/rubocop
that referenced
this issue
Sep 28, 2016
* bbatsov/master: (80 commits) [Fix rubocop#3540] Make `Style/GuardClause` register offense for instance & singleton methods [Fix rubocop#3436] issue related to Rails/SaveBang when returning non-bang call from the parent method Allow `#to_yml` to produce single-quoted strings Add support for StyleGuideBaseURL and update rules Add spec for the existing style guide URL implementation Fix the changelog Edited regular expression for normal case to fix issues rubocop#3514 and rubocop#3516 (rubocop#3524) Add a rake task for generation a new cop (rubocop#3533) [Fix rubocop#3510] Various bug fixes for SafeNavigation (rubocop#3517) [Fix rubocop#3512] Change error message of `Lint/UnneededSplatExpansion` for array (rubocop#3526) Fix false positive in `Lint/AssignmentInCondition` (rubocop#3520) (rubocop#3529) Rename a mismatched filename (rubocop#3523) Fix a broken changelog entry [Fix rubocop#3511] Style/TernaryParentheses false positive (rubocop#3513) Fix the release notes for 0.43 Cut 0.43.0 [Fix rubocop#3462] Don't flag single-line methods Fix false negatives in `Rails/NotNullColumn` cop (rubocop#3508) Remove unused doubled methods (rubocop#3509) [Fix rubocop#3485] Make OneLineConditional cop ignore empty else (rubocop#3487) ...
Neodelf
pushed a commit
to Neodelf/rubocop
that referenced
this issue
Oct 15, 2016
…and rubocop#3516 (rubocop#3524) [Fix rubocop#3514][Fix rubocop#3516] Edit regular expression which defines normal case by allowing numbers after the first underscore. This also fixes the normal case analog to issue rubocop#3519 - changed and simplified normal case definition to allow multi-digit numbers.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
Assignments like
target_u2f_device = nil
isn't detected as offence against Style/VariableNumber.Actual behavior
target_u2f_device = nil
is detected.Steps to reproduce the problem
RuboCop version
The text was updated successfully, but these errors were encountered: