Closed
Description
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"
.
What category should the rule belong to?
- Enforces code style
- Warns about a potential error
- Suggests an alternate way of doing something
- Other (please specify:)
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
Metadata
Metadata
Assignees
Labels
No labels