stylelint-disallow-vendor-prefix
v1.0.1
Published
Stylelint plugin to disallow vendor prefixes for given properties
Readme
stylelint-disallow-vendor-prefix
Disallow vendor prefixes for given properties
Installation
npm install stylelint-disallow-vendor-prefix --save-devUsage
// .stylelintrc
{
"plugins": [
"stylelint-disallow-vendor-prefix"
],
"rules": {
"plugin/stylelint-disallow-vendor-prefix":{ true,properties:["/transform/","animation/"] },
}
}The following patterns are considered violations:
.a{-webkit-transform-origin:top;-webkit-animation:myanim;}Options
{true ,properties:["array", "of", "unprefixed properties", /or/, "/regex/"]}