3 Require or disallow a leading zero for fractional numbers less than 1.
6 a { line-height: 0.5; }
11 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.
15 `string`: `"always"|"never"`
19 There *must always* be a leading zero.
21 The following patterns are considered violations:
24 a { line-height: .5; }
28 a { transform: translate(2px, .4px); }
31 The following patterns are *not* considered violations:
34 a { line-height: 0.5; }
38 a { transform: translate(2px, 0.4px); }
43 There *must never* be a leading zero.
45 The following patterns are considered violations:
48 a { line-height: 0.5; }
52 a { transform: translate(2px, 0.4px); }
55 The following patterns are *not* considered violations:
58 a { line-height: .5; }
62 a { transform: translate(2px, .4px); }