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

Make wrap-multilines more granular #94

Merged
merged 1 commit into from
Jun 3, 2015
Merged

Make wrap-multilines more granular #94

merged 1 commit into from
Jun 3, 2015

Conversation

bgw
Copy link
Contributor

@bgw bgw commented Jun 2, 2015

This adds an option for enabling/disabling wrap-multilines in the context of the enclosing expression. In facebook/react, we only care about jsx expressions in return statements

@coveralls
Copy link

Coverage Status

Coverage increased (+0.09%) to 94.56% when pulling 4d92237 on PiPeep:granular-wrap-multilines into 92f33bc on yannickcr:master.

@yannickcr
Copy link
Member

Ok to add these options to the rule.

Can you update the documentation too ? Then I think we'll be good to merge.

This adds an option for enabling/disabling wrap-multilines in the
context of the enclosing expression. In facebook/react, we only care
about jsx expressions in return statements:

facebook/react#4007 (comment)
@bgw
Copy link
Contributor Author

bgw commented Jun 3, 2015

@yannickcr Fixed.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.09%) to 94.56% when pulling 3610e9d on PiPeep:granular-wrap-multilines into 92f33bc on yannickcr:master.

yannickcr added a commit that referenced this pull request Jun 3, 2015
@yannickcr yannickcr merged commit 6732c11 into jsx-eslint:master Jun 3, 2015
@yannickcr
Copy link
Member

Thanks!

@bgw
Copy link
Contributor Author

bgw commented Jun 3, 2015

Seeing as we have an outstanding PR depending on this commit (facebook/react#4007), is there a chance you'll cut a new release soon, or would you recommend we use a git commit hash in our dependencies?

@yannickcr
Copy link
Member

No need for the commit hash, a new release should come out soon.

@yannickcr
Copy link
Member

v2.5.0 released

@bgw
Copy link
Contributor Author

bgw commented Jun 4, 2015

Awesome! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants