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

jsx-indent behaviour with ternaries and brackets #952

Closed
avocadowastaken opened this issue Nov 8, 2016 · 1 comment
Closed

jsx-indent behaviour with ternaries and brackets #952

avocadowastaken opened this issue Nov 8, 2016 · 1 comment

Comments

@avocadowastaken
Copy link

Results for eslint . --fix

in 6.5.0

const children = !isLoading && url ? (
  <a href={url}>
    {linkText}
  </a>
) : (
  <CircularProgress/>
)

in 6.6.0

const children = !isLoading && url ? (
  <a href={url}>
    {linkText}
  </a>
) : (
<CircularProgress/>
)
@lukeapage
Copy link
Contributor

See #945

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

No branches or pull requests

2 participants