nursery/noUnsafeIframeSandbox
nursery · since 2.5.13
No autofixRecommended
biome.json
{
"linter": {
"rules": {
"nursery": {
"noUnsafeIframeSandbox": "error"
}
}
}
}function MyComponent() {
return <iframe src="https://example.com" sandbox="allow-scripts allow-same-origin" />;
}function MyComponent() {
return <iframe src="https://example.com" sandbox="allow-popups" />;
}Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
nursery/noUnsafeIframeSandbox
nursery · since 2.5.13
{
"linter": {
"rules": {
"nursery": {
"noUnsafeIframeSandbox": "error"
}
}
}
}Disallow An+B formulas that cannot select an element.
Disallow unrecognized element names in type selectors.