Skip to content

[bug] HTML characters should be allowed inside of no-useless-fragment #850

@imjordanxd

Description

@imjordanxd

Describe the bug

The following code produces an error but is a false positive:

function Foo() {
	return <>&nbsp;</>;
}

Reproduction

No response

Expected behavior

An error should not be reported in this case.

Platform and versions

Node 20.18.0
@eslint-react 1.15.0

Stack trace

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: ReleasedThe issue has been releasedType: BugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions