3 Specify a whitelist of allowed units.
13 `array|string`: `["array", "of", "units"]|"unit"`
21 The following patterns are considered violations:
28 a { font-size: 10rem; }
32 a { animation: animation-name 5s ease; }
35 The following patterns are *not* considered violations:
38 a { font-size: 1.2em; }
42 a { line-height: 1.2; }
54 a { transform: rotate(30deg); }
57 ## Optional secondary options
59 ### `ignoreProperties: { unit: ["property", "/regex/"] }`
61 Ignore units in the values of declarations with the specified properties.
63 For example, with `["px", "em"]`.
69 "rem": [ "line-height", "/^border/" ],
74 The following patterns are *not* considered violations:
77 a { line-height: 0.1rem; }
81 a { border-bottom-width: 6rem; }
88 The following patterns are considered violations:
91 a { margin: 0 20rem; }
95 a { -moz-border-radius-topright: 20rem; }