We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This would produce a warning:
<span> { tab.title } </span>
as it produces 3 <span> DOM nodes (typically not wanted)
<span>
This wouldn't:
<span>{ tab.title }</span>
The text was updated successfully, but these errors were encountered:
This might be less of an issue with React 15, which claims to produce fewer spans.
Sorry, something went wrong.
Oh, I like this proposal. @ljharb this doesn't seem like it has been implemented yet. How about new [jsx-content-spacing]?
[jsx-content-spacing]
Sure, sounds good.
It looks like newer versions of React take care of this, throwing away the extra whitespace.
That said, this would be a useful rule to have if only to enforce consistency—is a PR for this something y'all would consider?
Yes, i still think this would be a good rule (especially if it autofixed)for consistency’s sake.
No branches or pull requests
This would produce a warning:
as it produces 3
<span>
DOM nodes (typically not wanted)This wouldn't:
The text was updated successfully, but these errors were encountered: