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 new Style/ArrayCoercion cop #8295

Merged
merged 1 commit into from Jul 10, 2020
Merged

Conversation

fatkodima
Copy link
Contributor

@bbatsov bbatsov merged commit 03cd4f6 into rubocop:master Jul 10, 2020
@bbatsov
Copy link
Collaborator

bbatsov commented Jul 10, 2020

Great work! It'd be good to make this cop configurable down the road and leave it to the users to choose whatever style of coercion they prefer, though, as some people might prefer [*var] despite the advantages of Array().

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.

None yet

2 participants