test/fixtures/formatting-after/fmt-2.yml
raw| 1 | # preamble/header comment |
| 2 | --- |
| 3 | # initial comment |
| 4 | - foo: bar |
| 5 | |
| 6 | - baz: # over indented |
| 7 | - qwerty |
| 8 | - foobar |
| 9 | animals: # under indented |
| 10 | - crow |
| 11 | - pig |
| 12 | - giraffe |
| 13 | |
| 14 | - nothing: # null |
| 15 | |
| 16 | - octal: |
| 17 | - "0o123" # YAML 1.2 octal |
| 18 | - "0123" # YAML 1.1 octal |
| 19 | |
| 20 | - integer: |
| 21 | - 0 # Not an octal. See #2071 |
| 22 | - 10 |
| 23 | - 9999 |
| 24 | zero: 0 # Not an octal. See #2071 |
| 25 | |
| 26 | - string: |
| 27 | - 0steps |
| 28 | - 9steps |
| 29 | - 0.0.0.0 |
| 30 | - "0" |
| 31 | - "01234" |