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

Ignore jsx-key if inside React.Children.toArray() #1591

Merged
merged 1 commit into from Sep 30, 2022

Commits on Dec 10, 2017

  1. [Fix] jsx-key: Ignore elements inside React.Children.toArray()

    jsx-key rule should always succeed if we're inside
    React.Children.toArray() because omitting the key there doesn't cause a
    React warning.
    
    Fixes jsx-eslint#1574.
    silvenon authored and ljharb committed Dec 10, 2017
    Copy the full SHA
    8beb2aa View commit details
    Browse the repository at this point in the history