Permalink
99d8282 Jan 8, 2017
@jeddy3 @davidtheclark
44 lines (30 sloc) 688 Bytes

value-no-vendor-prefix

Disallow vendor prefixes for values.

a { display: -webkit-flex; }
/**          ↑
 *  These prefixes */

This rule will only warn for prefixed standard values, and not for prefixed proprietary or unknown ones.

Options

true

The following patterns are considered warnings:

a { display: -webkit-flex; }
a { max-width: -moz-max-content; }
a { background: -webkit-linear-gradient(bottom, #000, #fff); }

The following patterns are not considered warnings:

a { display: flex; }
a { max-width: max-content; }
a { background: linear-gradient(bottom, #000, #fff); }