Skip to content

Should enforceDynamicLinks be react/jsx-no-target-blank? #1986

Closed
@atomcorp

Description

Maybe I'm missing something, but for the jsx-no-target-blank rule it says:

There are two main options for the rule:

{"enforceDynamicLinks": "always"} enforces the rule if the href is a dynamic link (default)
{"enforceDynamicLinks": "never"} does not enforce the rule if the href is a dynamic link

This didn't do anything for me. "react/jsx-no-target-blank": 2, works fine, but it wasn't really clear if that is indeed what you're meant to do.

Thanks

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