obsolete attr - bhsd-harry/wikiparser-node GitHub Wiki
obsolete-attr
⚠️ By default, this rule reports obsolete HTML attributes as warnings.
Options
attribute name
This rule can be configured for specific attributes by providing an object with the attribute name as the key and the severity as the value.
Examples of incorrect code for { "obsolete-attr": [ 0, { "clear": 2 } ] }
:
<br clear=left>
Examples of correct code for { "obsolete-attr": [ 2, { "clear": 0 } ] }
:
<br clear=left>