Skip to content

TypeError: Cannot read property 'name' of undefined in jsx-no-target-blank  #1296

Closed
@green-arrow

Description

@green-arrow

I'm getting this error after upgrading react-scripts to the latest version. Example code:

<a target="_blank" rel="noreferrer noopener" href="https://www.example.com">

The source line from the error is line 28, where it does attr.name.name.

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