1 # declaration-property-unit-blacklist
3 Specify a blacklist of disallowed property and unit pairs within declarations.
8 * These properties and these units */
14 "unprefixed-property-name": ["array", "of", "units"]
17 If a property name is surrounded with `"/"` (e.g. `"/^animation/"`), it is interpreted as a regular expression. This allows, for example, easy targeting of shorthands: `/^animation/` will match `animation`, `animation-duration`, `animation-timing-function`, etc.
23 "font-size": ["em", "px"],
28 The following patterns are considered violations:
35 a { animation: animation-name 5s ease; }
39 a { -webkit-animation: animation-name 5s ease; }
43 a { animation-duration: 5s; }
46 The following patterns are *not* considered violations:
49 a { font-size: 1.2rem; }
57 a { animation: animation-name 500ms ease; }
61 a { -webkit-animation: animation-name 500ms ease; }
65 a { animation-duration: 500ms; }