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

Array.prototype.find and node < 4 #999

Closed
sigorilla opened this issue Dec 13, 2016 · 1 comment · Fixed by singapore/lint-condo#214
Closed

Array.prototype.find and node < 4 #999

sigorilla opened this issue Dec 13, 2016 · 1 comment · Fixed by singapore/lint-condo#214
Assignees
Labels

Comments

@sigorilla
Copy link

Hi!

In package.json it is written that the plugin supports the version of node >= 0.10. But Array.prototype.find isn't supported for node <4.

List of files using find method:

  1. style-prop-object 1
  2. style-prop-object 2
  3. no-children-prop

I think it's need to add polyfill or to drop support for node <4

@ljharb ljharb self-assigned this Dec 13, 2016
@ljharb ljharb added the bug label Dec 13, 2016
@ljharb
Copy link
Member

ljharb commented Dec 13, 2016

In order to retain eslint v2/node 0.10 compat, this definitely needs to be fixed.

ljharb added a commit to ljharb/eslint-plugin-react that referenced this issue Dec 13, 2016
ljharb added a commit to ljharb/eslint-plugin-react that referenced this issue Dec 13, 2016
ljharb added a commit to ljharb/eslint-plugin-react that referenced this issue Dec 13, 2016
ljharb added a commit to ljharb/eslint-plugin-react that referenced this issue Dec 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

2 participants