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

Simplify no-unreadable-array-destructuring #614

Conversation

fisker
Copy link
Collaborator

@fisker fisker commented Mar 17, 2020

This should requires at least 2 elements, if we exclude the stupid code const [,,] = parts;, it should requires at least 3 elements. Should I set it to 3?

I set length to at least 3 elements.

@fisker fisker force-pushed the simplify-no-unreadable-array-destructuring branch from 042023b to 5395449 Compare March 17, 2020 12:24
@sindresorhus sindresorhus merged commit 4b2065c into sindresorhus:master Mar 17, 2020
@fisker fisker deleted the simplify-no-unreadable-array-destructuring branch March 17, 2020 14:32
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