Skip to content

jsx-no-target-blank false positive #2549

Closed
@jahirfiquitiva

Description

@jahirfiquitiva

I have enabled react/jsx-curly-brace-presence but now the react/jsx-no-target-blank rules is considering the following snippet as error:

<a className={'App-link'}
         href={'https://reactjs.org'}
         target={'_blank'}
         rel={'noopener noreferrer'}>Learn React</a>

What can I do to fix it so it doesn't consider it an error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions