.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / rules / number-no-trailing-zeros / README.md
1 # number-no-trailing-zeros
2
3 Disallow trailing zeros in numbers.
4
5 ```css
6 a { top: 0.5000px; bottom: 1.0px; }
7 /**         ↑                ↑
8  *        These trailing zeros */
9 ```
10
11 The `--fix` option on the [command line](../../../docs/user-guide/cli.md#autofixing-errors) can automatically fix some of the problems reported by this rule.
12
13 ## Options
14
15 ### `true`
16
17 The following patterns are considered violations:
18
19 ```css
20 a { top: 1.0px }
21 ```
22
23 ```css
24 a { top: 1.01000px }
25 ```
26
27 The following patterns are *not* considered violations:
28
29 ```css
30 a { top: 1px }
31 ```
32
33 ```css
34 a { top: 1.01px }
35 ```