UNPKG

el-beeswarm

Version:

<div style="display: flex; padding: 1rem; flex-direction: column; align-items: center; justify-content: center; height: 100vh; text-align: center; display: flex;

75 lines (53 loc) 1.3 kB
# 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. The [`fix` option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule. ## 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; } ```