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 crash in jsx-no-target-blank #1298

Merged
merged 2 commits into from
Jul 13, 2017

Conversation

jseminck
Copy link
Contributor

{...spreadProps} was not working correctly in case there was an external url. Added test case + fix + a small code refactor.

Should fix #1296

jseminck added 2 commits July 13, 2017 07:34
A hasXXX function should return a boolean instead of an object.
I think node 4 supports .some(). - if not, will revert.
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.

Thanks, looks great.

@ljharb ljharb added the bug label Jul 13, 2017
@ljharb ljharb merged commit 739ece1 into jsx-eslint:master Jul 13, 2017
@jseminck jseminck deleted the jsx-no-target-blank branch November 19, 2017 07:53
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.

TypeError: Cannot read property 'name' of undefined in jsx-no-target-blank
2 participants