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

[Fix] display-name: fix false negative around nested functions #2225

Merged
merged 1 commit into from Apr 3, 2019

Conversation

dwelle
Copy link
Contributor

@dwelle dwelle commented Apr 3, 2019

Fixes #2221

RFC --- this is most likely not a good solution.

I've made sure that the component is marked only if the function node is the component itself.

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.

fix and tests look good to me, thanks!

@ljharb ljharb added the bug label Apr 3, 2019
@ljharb ljharb merged commit 35de81b into jsx-eslint:master Apr 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

2 participants