nursery/noObsoleteAttributes
nursery · since 2.6.3
No autofixRecommended
biome.json
{
"linter": {
"rules": {
"nursery": {
"noObsoleteAttributes": "error"
}
}
}
}<table bgcolor="#ffffff"></table>;<table cellPadding="5"></table>;<a name="top">Back to top</a>;<table style={{ backgroundColor: "#ffffff" }}></table>;
<a id="top">Back to top</a>;
<iframe src="/page.html" style={{ border: 0 }}></iframe>;
<input name="email" />;
<Table bgcolor="#ffffff" />;
<a name={undefined}>Back to top</a>;Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
nursery/noObsoleteAttributes
nursery · since 2.6.3
{
"linter": {
"rules": {
"nursery": {
"noObsoleteAttributes": "error"
}
}
}
}Require var() when using a declared CSS custom property.
Enforce Playwright async APIs to be awaited or returned.
Disallow shorthand assign when variable appears on both sides.
Disallow using variables from outside the function passed to page.evaluate() and page.addInitScript().
Require <li> elements with an HTML element parent to be children of <ul>, <ol>, or <menu>.
Disallow quickfix.biome in supported editor settings.