3 Disallow units for zero lengths.
8 * This zero and this type of length unit */
11 *Lengths* refer to distance measurements. A length is a *dimension*, which is a *number* immediately followed by a *unit identifier*. However, for zero lengths the unit identifier is optional. The length units are: `em`, `ex`, `ch`, `vw`, `vh`, `cm`, `mm`, `in`, `pt`, `pc`, `px`, `rem`, `vmin`, and `vmax`.
13 The `--fix` option on the [command line](../../../docs/user-guide/cli.md#autofixing-errors) can automatically fix all of the problems reported by this rule.
19 The following patterns are considered violations:
29 The following patterns are *not* considered violations:
32 a { top: 0 } /* no unit */
36 a { transition-delay: 0s; } /* dimension */
47 ## Optional secondary options
49 ### `ignore: ["custom-properties"]`
51 #### `"custom-properties"`
53 Ignore units for zero length in custom properties.
55 The following pattern is *not* considered a violation: