Disallow usage of conditional comments (no-conditional-comment
)
Microsoft Internet Explorer previously supported using special HTML comments (conditional comments) for targeting specific versions of IE but since IE 10 it is deprecated and not supported in standards mode.
Rule details
Examples of incorrect code for this rule:
<!--[if IE]>
<p>You are using Internet Explorer.</p>
<![endif]-->
<![if !IE]>
<p>You are not using Internet Explorer.</p>
<![endif]>