You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Style/VariableNumber is not disabled as expected when running rubocop --auto-gen-config on our large old codebase where both styles are used (sometimes in the same file).
When the variable name doesn't match the configured style, we should
detect which style is used so that the right information is
generated in .rubocop_todo.yml.
Style/VariableNumber is not disabled as expected when running
rubocop --auto-gen-config
on our large old codebase where both styles are used (sometimes in the same file).Expected behavior
In this test case:
I would expect
.rubocop_todo.yml
to include:Actual behavior
It actually includes:
Which leads to subsequent runs of
rubocop
failing this cop.RuboCop version
The text was updated successfully, but these errors were encountered: