Should enforceDynamicLinks be react/jsx-no-target-blank? #1986
Closed
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