summaryrefslogtreecommitdiffstats
path: root/test/fixtures/formatting-prettier/fmt-2.yml
blob: 90ac484e322f6a5a8036a903bacc17ad37fdb9f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# preamble/header comment
---
# initial comment
- foo: bar

- baz: # over indented
    - qwerty
    - foobar
  animals: # under indented
    - crow
    - pig
    - giraffe

- nothing: null # null

- octal:
    - "0o123" # YAML 1.2 octal
    - "0123" # YAML 1.1 octal

- integer:
    - 0 # Not an octal. See #2071
    - 10
    - 9999
  zero: 0 # Not an octal. See #2071