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

no-object-as-default-parameter: Forbid destructuring #1433

Conversation

fisker
Copy link
Collaborator

@fisker fisker commented Jul 19, 2021

I checked the original proposal and the implementation PR, it seems we missed this, and I don't think we should allow this pattern.

@sindresorhus sindresorhus merged commit 3fcc4bb into sindresorhus:main Jul 19, 2021
@sindresorhus
Copy link
Owner

Good catch 👍

@fisker fisker deleted the no-object-as-default-parameter-destructuring branch July 19, 2021 10:08
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