Tags
Always self-close tags that have no children. eslint:
react/self-closing-comp
// bad
<Foo variant="stuff"></Foo>
// good
<Foo variant="stuff" />
If your component has multi-line properties, close its tag on a new line. eslint:
react/jsx-closing-bracket-location
// bad
<Foo
bar="bar"
baz="baz" />
// good
<Foo
bar="bar"
baz="baz"
/>