Skip to content

Conversation

sosukesuzuki
Copy link
Contributor

Fixes #1054

Copy link
Member

@ota-meshi ota-meshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this PR! I have a request.


## :book: Rule Details

This rule disallows target="_blank" attribute without rel="noopener noreferrer".
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like the description of eslint-plugin-react, could you please add an explanation of how this rule is as useful?

https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-no-target-blank.md

Copy link
Contributor Author

@sosukesuzuki sosukesuzuki Mar 31, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for reviewing. I fixed it:smile:

Copy link
Member

@ota-meshi ota-meshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you!

@ota-meshi ota-meshi merged commit 8d3c99a into vuejs:master Apr 21, 2020
@sosukesuzuki sosukesuzuki deleted the add-no-template-target-blank branch April 21, 2020 08:11
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

Successfully merging this pull request may close these issues.

Rule Proposal: template-no-target-blank
2 participants