invalid css - bhsd-harry/wikiparser-node GitHub Wiki
invalid-css
❌ By default, this rule reports syntax errors and warnings of inline styles using vscode-css-languageservice.
Examples
Examples of incorrect code for { "invalid-css": 2 }
:
<br style="foo">
Examples of correct code for { "invalid-css": 0 }
:
<br style="foo">
Options
warn
⚠️ By default, this rule reports CSS syntax warnings as warnings. This can be configured by providing a warn
option with a severity value.
Examples of incorrect code for { "invalid-css": [ 1, { "warn": 2 } ] }
:
<br style="-moz-border-radius: 0">
Examples of correct code for { "invalid-css": [ 2, { "warn": 0 } ] }
:
<br style="-moz-border-radius: 0">