Sha256: 94a4b880bd971d8a28f966258651c2d974ddb071e62e2401c58726bd777e002c
Contents?: true
Size: 1.14 KB
Versions: 23
Compression:
Stored size: 1.14 KB
Contents
# value-no-vendor-prefix Disallow vendor prefixes for values. <!-- prettier-ignore --> ```css a { display: -webkit-flex; } /** ↑ * These prefixes */ ``` This rule will only complain for prefixed _standard_ values, and not for prefixed _proprietary_ or _unknown_ ones. ## Options ### `true` The following patterns are considered violations: <!-- prettier-ignore --> ```css a { display: -webkit-flex; } ``` <!-- prettier-ignore --> ```css a { max-width: -moz-max-content; } ``` <!-- prettier-ignore --> ```css a { background: -webkit-linear-gradient(bottom, #000, #fff); } ``` The following patterns are _not_ considered violations: <!-- prettier-ignore --> ```css a { display: flex; } ``` <!-- prettier-ignore --> ```css a { max-width: max-content; } ``` <!-- prettier-ignore --> ```css a { background: linear-gradient(bottom, #000, #fff); } ``` ## Optional secondary options ### `ignoreValues: ["string"]` Given: ``` ["grab", "max-content"] ``` The following patterns are _not_ considered violations: <!-- prettier-ignore --> ```css cursor: -webkit-grab; ``` <!-- prettier-ignore --> ```css .foo { max-width: -moz-max-content; } ```
Version data entries
23 entries across 23 versions & 1 rubygems