We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please describe what the rule should do:
This rule should warn when rel='noreferrer noopener' does not exist in attributes of an anchor tag with target="_blank".
rel='noreferrer noopener'
target="_blank"
What category should the rule belong to?
Provide 2-3 code examples that this rule should warn about:
<template> <a href="http://example.com" target="_blank">link</a> </template>
Additional context
ref: https://developers.google.com/web/tools/lighthouse/audits/noopener?hl=en A rule does exist for this problem in eslint-plugin-react
The text was updated successfully, but these errors were encountered:
To any maintainer. Can I work on this?
Sorry, something went wrong.
Thank you for this rule proposal.
I think it is good to add this rule to eslint-plugin-vue. I'm not familiar with this vulnerability, so I'm not sure about the rule details.
eslint-plugin-vue
vue/no-template-no-target-blank
Successfully merging a pull request may close this issue.
Please describe what the rule should do:
This rule should warn when
rel='noreferrer noopener'
does not exist in attributes of an anchor tag withtarget="_blank"
.What category should the rule belong to?
Provide 2-3 code examples that this rule should warn about:
Additional context
ref: https://developers.google.com/web/tools/lighthouse/audits/noopener?hl=en
A rule does exist for this problem in eslint-plugin-react
The text was updated successfully, but these errors were encountered: