Currently, the rule requires tags to be aligned:
|
'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.
Currently, the rule requires tags to be aligned:
eslint-config-xo-react/index.js
Lines 86 to 92 in e29b624
In this situation, no amount of tabs would achieve that (line 6):
7 spaces worth of space are needed which can't be represented in tabs.