xref: /freebsd/sys/contrib/device-tree/Bindings/.yamllint (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1extends: relaxed
2
3rules:
4  quoted-strings:
5    required: only-when-needed
6    extra-allowed:
7      - '[$^,[]'
8      - '^/$'
9  line-length:
10    # 80 chars should be enough, but don't fail if a line is longer
11    max: 110
12    allow-non-breakable-words: true
13    level: warning
14  braces:
15    min-spaces-inside: 0
16    max-spaces-inside: 1
17    min-spaces-inside-empty: 0
18    max-spaces-inside-empty: 0
19  brackets:
20    min-spaces-inside: 0
21    max-spaces-inside: 1
22    min-spaces-inside-empty: 0
23    max-spaces-inside-empty: 0
24  colons: {max-spaces-before: 0, max-spaces-after: 1}
25  commas: {min-spaces-after: 1, max-spaces-after: 1}
26  comments:
27    require-starting-space: true
28    min-spaces-from-content: 1
29  comments-indentation: disable
30  document-start:
31    present: true
32  empty-lines:
33    max: 3
34    max-end: 1
35  empty-values:
36    forbid-in-block-mappings: true
37    forbid-in-flow-mappings: true
38  hyphens:
39    max-spaces-after: 1
40  indentation:
41    spaces: 2
42    indent-sequences: true
43    check-multi-line-strings: false
44  trailing-spaces: false
45