# No prefixed properties Disallow vendor-prefixed CSS properties. ```css a { -webkit-transform: rotate(45deg) } /* ↑ * This vendor-prefixed property is not allowed */ ``` Vendor-prefixed properties like `-webkit-transform`, `-moz-appearance`, or `-ms-flex` indicate either stale CSS that predates broad support, or manual prefixing that should be handled by a build tool like Autoprefixer. This rule encourages the use of standard, unprefixed properties. ## Options `true` The following are considered violations: ```css a { -webkit-transform: rotate(45deg); } ``` ```css a { -moz-appearance: none; } ``` ```css a { -ms-flex: 1; } ``` The following patterns are _not_ considered violations: ```css a { transform: rotate(45deg); } ``` ```css a { appearance: none; } ``` ### `ignore: Array` Ignore specific vendor-prefixed properties by exact string or regular expression. Strings wrapped in `/` delimiters (e.g. `"/^-webkit-/"`, `"/^-webkit-/i"`) are treated as regular expressions, allowing regex patterns in JSON config files. Given: `{ ignore: ["-webkit-appearance"] }` the following are _not_ considered violations: ```css a { -webkit-appearance: none; } ``` ## Prior art - [`no-vendor-prefixes` rules in stylelint](https://stylelint.io/user-guide/rules)