Sha256: 4fd2da3e81f4669f805b1a9d59beffd5e880e05b124185af2da4dfe72d597561
Contents?: true
Size: 1015 Bytes
Versions: 23
Compression:
Stored size: 1015 Bytes
Contents
# media-feature-name-blacklist Specify a blacklist of disallowed media feature names. <!-- prettier-ignore --> ```css @media (min-width: 700px) {} /** ↑ * This media feature name */ ``` ## Options `array|string|regex`: `["array", "of", "unprefixed", /media-features/ or "regex"]|"media-feature"|/regex/` Given: ``` ["max-width", "/^my-/"] ``` The following patterns are considered violations: <!-- prettier-ignore --> ```css @media (max-width: 50em) {} ``` <!-- prettier-ignore --> ```css @media (my-width: 50em) {} ``` <!-- prettier-ignore --> ```css @media (max-width < 50em) {} ``` <!-- prettier-ignore --> ```css @media (10em < my-height < 50em) {} ``` The following patterns are _not_ considered violations: <!-- prettier-ignore --> ```css @media (min-width: 50em) {} ``` <!-- prettier-ignore --> ```css @media print and (min-resolution: 300dpi) {} ``` <!-- prettier-ignore --> ```css @media (min-width >= 50em) {} ``` <!-- prettier-ignore --> ```css @media (10em < width < 50em) {} ```
Version data entries
23 entries across 23 versions & 1 rubygems