Closed
Description
Not sure if this is a bug or documentation issue. Either way something needs to be switched.
Here's the rule I'm using:
"react/jsx-closing-bracket-location": [2, "after-props"]
to make this valid:
<Hello
firstName="John"
lastName="Smith" />;
Documentation states the opposite.
// 'jsx-closing-bracket-location': [1, 'after-props']
<Hello
firstName="John"
lastName="Smith"
/>;
// 'jsx-closing-bracket-location': [1, 'props-aligned']
<Hello
firstName="John"
lastName="Smith" />;
Metadata
Metadata
Assignees
Labels
No labels