Skip to content

Latest commit

 

History

History
59 lines (47 loc) · 1.44 KB

File metadata and controls

59 lines (47 loc) · 1.44 KB

ember/template-no-obsolete-elements

💼 This rule is enabled in the 📋 template-lint-migration config.

Some elements are entirely obsolete and must not be used by authors.

This rule forbids the use of obsolete elements.

Examples

This rule forbids the following:

<template>
  <acronym></acronym>
  <applet></applet>
  <basefont></basefont>
  <bgsound></bgsound>
  <big></big>
  <blink></blink>
  <center></center>
  <dir></dir>
  <font></font>
  <frame></frame>
  <frameset></frameset>
  <isindex></isindex>
  <keygen />
  <listing></listing>
  <marquee></marquee>
  <menuitem></menuitem>
  <multicol></multicol>
  <nextid></nextid>
  <nobr></nobr>
  <noembed></noembed>
  <noframes></noframes>
  <param>
  <plaintext></plaintext>
  <rb></rb>
  <rtc></rtc>
  <spacer></spacer>
  <strike></strike>
  <tt></tt>
  <xmp></xmp>
</template>

This rule allows anything that is not an obsolete element.

Migration

  • replace any use of these elements with the appropriate updated element or a div element.

References