-
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Currently, the rule requires tags to be aligned:
eslint-config-xo-react/index.js
Lines 86 to 92 in e29b624
'react/jsx-closing-bracket-location': [ | |
'error', | |
{ | |
nonEmpty: 'tag-aligned', | |
selfClosing: false | |
} | |
], |
In this situation, no amount of tabs would achieve that (line 6):
{via ? <div style={{
display: 'flex',
flexDirection: 'column',
textAlign: 'center',
}}
>
<div>{destination}</div>
<div>via {via}</div>
</div> : <span>{longName}</span>}
7 spaces worth of space are needed which can't be represented in tabs.
Metadata
Metadata
Assignees
Labels
No labels