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

Issue with Layout/DotPosition #10231

Closed
mdemare opened this issue Nov 4, 2021 · 1 comment
Closed

Issue with Layout/DotPosition #10231

mdemare opened this issue Nov 4, 2021 · 1 comment

Comments

@mdemare
Copy link

mdemare commented Nov 4, 2021

We have Layout/DotPosition configured to trailing, and suddenly we get warnings for the following code.

data_by_row = cells.map do |k,v|
  r,c = CSV::ColumnHelper.from_char_notation(k)
  [r,c,v]
end.group_tuples # <-- rubocop doesn't like this

That's new, and we like this style, so we've disabled Layout/DotPosition, but we preferred the old behavior.

@koic
Copy link
Member

koic commented Nov 4, 2021

This issue is a dup with #10207 and resolved by RuboCop 1.22.3. Can you upgrade to the newer RuboCop? Thank you.

@koic koic closed this as completed Nov 4, 2021
@koic koic added the duplicate label Nov 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants