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

New rule: Wrap expressions in a line #66

Closed
mohsen1 opened this issue Jan 30, 2017 · 2 comments
Closed

New rule: Wrap expressions in a line #66

mohsen1 opened this issue Jan 30, 2017 · 2 comments

Comments

@mohsen1
Copy link
Contributor

mohsen1 commented Jan 30, 2017

Not sure how to name or describe this rule.

Bad

<div>{
  expression
}</div>

Good

<div>
  {expression}
</div>
@adidahiya
Copy link
Contributor

maybe this could be a new option in jsx-curly-spacing? or a new rule called jsx-one-line

@adidahiya
Copy link
Contributor

Closing due to old age and the deprecation timeline in #210

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

No branches or pull requests

2 participants