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

consistent-destructuring: Add ExperimentalRestProperty check #1060

Merged
merged 3 commits into from Jan 24, 2021
Merged

consistent-destructuring: Add ExperimentalRestProperty check #1060

merged 3 commits into from Jan 24, 2021

Conversation

medusalix
Copy link
Contributor

Fixes the hasRest check when using Babel's ExperimentalRestProperty. See #1013 (comment).

@fisker
Copy link
Collaborator

fisker commented Jan 24, 2021

Test please, use test.babelLegacy(). test.babel() is not babel-eslint parser now.

@fisker fisker merged commit aca2ec5 into sindresorhus:main Jan 24, 2021
@fisker
Copy link
Collaborator

fisker commented Jan 24, 2021

Thank you.

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