Closed jeddy3 closed 6 years ago
JS:
<div style={{ zIndex: "1" }} >
stylelint config:
{ "rules": { "property-whitelist": ["z-index"] } }
stylelint warning (note the extra leading hyphen in the property name):
Unexpected property "-z-index" (property-whitelist)"
Expected no violation.
JS:
stylelint config:
stylelint warning (note the extra leading hyphen in the property name):
Expected no violation.