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

_blank links should require noreferrer #1

Open
fruitl00p opened this issue Jun 7, 2019 · 1 comment
Open

_blank links should require noreferrer #1

fruitl00p opened this issue Jun 7, 2019 · 1 comment

Comments

@fruitl00p
Copy link
Member

fruitl00p commented Jun 7, 2019

include the rule: "react-anchor-blank-noopener"
<a href="#" target="_blank" rel="noreferrer"></a>

[tslint] Anchor tags with target="_blank" should also include rel="noopener noreferrer"

(but noreferrer also implies noopener, so just require noreferrer, but do require it)

@Reggino
Copy link
Member

Reggino commented Jun 7, 2019

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants