Skip to main content

no-deprecated-element

Warns when there is an element defined as deprecated.

This rule refers to HTML Living Standard based MDN Web docs. It has settings in @markuplint/html-spec.

An element the HTML Living Standard marks as a non-conforming, obsolete feature is no-obsolete-element's concern.

note

No HTML or SVG element in the current spec data is deprecated without also being obsolete, so this rule has no effect today. It exists so a future spec-data update that adds one is caught automatically, without needing a new rule.

Interface

{
"no-deprecated-element": boolean
}

Default Severity

warning