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

Disallow object destructuring via ESLint since we support Node v4 #2776

Merged
merged 1 commit into from Aug 29, 2020

Conversation

captbaritone
Copy link
Contributor

@captbaritone captbaritone commented Aug 29, 2020

In #2763 @dylanOshima got a cryptic CI error that only manifested in Node 4. It took a bunch of time to get the environment setup correctly to trigger that error correctly. It seems like the kind of thing that could be caught earlier with a lint rule, so I thought I'd add one.

Test plan:

Check out an early commit of #2763 and see this error:

Screen Shot 2020-08-28 at 7 12 25 PM

Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable, thanks

@ljharb ljharb merged commit ee8f771 into jsx-eslint:master Aug 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants