Rules
no-unsafe-target-blank
Full Name in eslint-plugin-react-dom
Full Name in @eslint-react/eslint-plugin
Features
🔍
Presets
dom
recommended
recommended-typescript
recommended-type-checked
What it does
Prevents the use of target="_blank"
without rel="noreferrer noopener"
.
Examples
Failing
Passing
Implementation
See Also
no-unsafe-iframe-sandbox
Enforcessandbox
attribute foriframe
elements is not set to unsafe combinations.