Skip to content

Given an empty React fragment, our empty-line-between-sibling-elements rule is not properly enforcedΒ #1098

Open
@kresimir-coko

Description

@kresimir-coko

Issue type (mark with x)

  • πŸ€” Question
  • πŸ› Bug report
  • 🎁 Feature request
  • πŸ€·β€β™€οΈ Other

Description

Given an empty React fragment <></>, our empty-line-between-sibling-elements rule is not checked. Code example:

<>
	<ClayDropDown.Caption className="pb-0">
		<ClayAutocomplete>
			...
		</ClayAutocomplete>
		// NOTE: It works for these 2 sibling elements
		{selectedItems.length ? (
			<div className="mt-2 selected-elements-wrapper">
				...
			</div>
		) : null}
	</ClayDropDown.Caption>
	<Divider /> // NOTE: This is where it should get triggered, too, but it's not
</>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions