Skip to content

Fixing > character in JSX text should have a "fix all in file" #37409

Closed
@DanielRosenwasser

Description

@DanielRosenwasser

We introduced a breaking change in #36636 so that > in JSX text would become an error as per the JSX spec:

Unexpected token. Did you mean `{'>'}` or `>`?

I hit this several times on the new website's src/templates/pages/download.tsx even though the code was just working. Users shouldn't have to fix them one-by-one, so it'd probably be a good idea to auto-fix them all.

Metadata

Metadata

Assignees

Labels

Domain: Quick FixesEditor-provided fixes, often called code actions.Experience EnhancementNoncontroversial enhancementsGood First IssueWell scoped, documented and has the green lightHelp WantedYou can do this

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions