Disallow vendor prefixes for properties.
a { -webkit-transform: scale(1); }
/** ↑
* This prefix */
This rule ignores non-standard vendor-prefixed properties that aren't handled by Autoprefixer.
The fix
option can automatically fix all of the problems reported by this rule. However, it will not remove duplicate properties produced when the prefixes are removed. You can use Autoprefixer itself, with the add
option off and the remove
option on, in these situations.
The following patterns are considered problems:
a { -webkit-transform: scale(1); }
a { -moz-columns: 2; }
The following patterns are not considered problems:
a { transform: scale(1); }
a {
columns: 2; }
a { -webkit-touch-callout: none; }
Given:
["transform", "columns"]
The following patterns are not considered problems:
a { -webkit-transform: scale(1); }
a { -moz-columns: 2; }