summaryrefslogtreecommitdiff
path: root/.yamllint.yaml
blob: c8e63ec722006ee1a497c5fed357a7b4fd01f70b (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
extends: default

rules:
  braces:
    min-spaces-inside: 0
    max-spaces-inside: 1
    min-spaces-inside-empty: 0
    max-spaces-inside-empty: 0

  brackets:
    min-spaces-inside: 0
    max-spaces-inside: 1
    min-spaces-inside-empty: 0
    max-spaces-inside-empty: 0

  comments-indentation:
    level: error

  document-end:
    present: false

  document-start:
    level: error
    present: false

  empty-lines:
    max: 1

  indentation:
    spaces: 2

  line-length: disable

  quoted-strings:
    quote-type: single
    required: only-when-needed

  truthy:
    allowed-values: ['true', 'false', 'on', 'off']

ignore: |
  /deps/
  node_modules/
  /test/fixtures/wpt/
  /tools/gyp/
  /tools/pip/