aboutsummaryrefslogtreecommitdiffstats
path: root/.yamllint
blob: 85512712c80d38472776aa6d4018d5219c18a2e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# https://yamllint.readthedocs.io/en/stable/rules.html
---
rules:
  quoted-strings:
    quote-type: single
    required: only-when-needed

  colons:
    max-spaces-before: 0
    max-spaces-after: 1

  commas:
    max-spaces-before: 0
    min-spaces-after: 1
    max-spaces-after: 1

  comments:
    require-starting-space: true
    ignore-shebangs: true
    min-spaces-from-content: 1

  document-end:
    present: false

  document-start:
    present: true

  empty-lines:
    max: 2
    max-start: 0
    max-end: 0

  empty-values:
    forbid-in-block-mappings: true
    forbid-in-flow-mappings: true

  float-values:
    require-numeral-before-decimal: true

  hyphens:
    max-spaces-after: 1

  indentation:
    spaces: 2
    indent-sequences: true
    check-multi-line-strings: true

  trailing-spaces: {}

  truthy:
    allowed-values: ['true', 'false']
    check-keys: true