-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Help wanted: Spacing between tags #2630
Comments
I don't think there's a rule for this anywhere. It might be reasonable. What would it be called, and how would it be configured? Would it apply to any jsx in any context? How would it interact with text nodes (as opposed to elements), as well as inline JS expressions? |
@ljharb thank you for the quick response. Overall I see this as something really similar to 'padding-line-between-statements', maybe even as an extension of this rule. |
I'd be interested to review a PR for this rule. |
Hi everybody, I am searching for hours and I really can't find a solution to my problem. I will appreciate if somebody can help me with this.
My problem is related to tag formatting and spacing.
I need a rule that will enforce adding newlines between siblings.
Bad:
Good:
I search in the prettier's rules, eslint's rules, everywhere and I am not finding it. If anybody knows a rule like this or point me to something I will be grateful.
The text was updated successfully, but these errors were encountered: