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 style-prop-object to deal with null and spread props that can't be resolved #844

Merged
merged 1 commit into from
Sep 16, 2016

Conversation

petersendidit
Copy link
Contributor

(Fixes #809) (Fixes #812)

Copy link
Collaborator

@lencioni lencioni left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this!

{
code: [
'React.createElement("div", {',
' style: null',
Copy link
Collaborator

Choose a reason for hiding this comment

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

Will you please also add tests like the null tests but for undefined?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops meant to add those. Fixed.

@ljharb ljharb added the bug label Sep 16, 2016
@ljharb ljharb merged commit e169799 into jsx-eslint:master Sep 16, 2016
@petersendidit petersendidit deleted the FixStylePropRule branch September 17, 2016 00:15
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.

4 participants