Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(no-target-blank): Configure noreferrer requirement #2478

Merged

Conversation

eps1lon
Copy link
Contributor

@eps1lon eps1lon commented Oct 30, 2019

Allows <a href="foobar" target="_blank" rel="noopener"></a> if the rule is configured with allowReferrer for links where we want the referrer for tracking. For rationale see #2054 (comment).

referrer is not a specified link type so I'd rather not introduce this magic-word for this rule.

See #776 (can be closed with this change?) and #2054

@ljharb ljharb force-pushed the feat/no-target-blank/explicit-referrer branch from ef4ef2a to d3b5d71 Compare November 29, 2019 05:31
@ljharb ljharb merged commit d3b5d71 into jsx-eslint:master Nov 29, 2019
@eps1lon eps1lon deleted the feat/no-target-blank/explicit-referrer branch November 29, 2019 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants