Closed
Description
The idea behind fragments is to group a list of children without adding extra nodes to the DOM.
Fragments are completely redundant when wrapping a single child, so the rule should detect examples like:
<>
<div />
</>
<Fragment>
<div />
</Fragment>
and flag them as a warning/error.
Example of valid usage of fragments:
<>
<div />
<div />
</>
(any case where children.length > 1
)