disallows usage of deprecated elements (deprecated)

HTML5 deprecated many old elements.

Rule details

Examples of incorrect code for this rule:

1:1 - <center> is deprecated
2:1 - <big> is deprecated

Examples of correct code for this rule:



When using custom elements metadata you can optionally specify a message:

    "my-element": {
        "deprecated": "replaced with <other-element>"

The message will be shown alongside the regular message:

1:1 - <my-element> is deprecated: replaced with <other-element>