xref: /linux/Documentation/devicetree/bindings/.yamllint (revision a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0)
144ec8b20SRob Herringextends: relaxed
244ec8b20SRob Herring
344ec8b20SRob Herringrules:
4*80f1c3c7SRob Herring  quoted-strings:
5*80f1c3c7SRob Herring    required: only-when-needed
6*80f1c3c7SRob Herring    extra-allowed:
7*80f1c3c7SRob Herring      - '[$^,[]'
8*80f1c3c7SRob Herring      - '^/$'
944ec8b20SRob Herring  line-length:
1044ec8b20SRob Herring    # 80 chars should be enough, but don't fail if a line is longer
1144ec8b20SRob Herring    max: 110
1244ec8b20SRob Herring    allow-non-breakable-words: true
1344ec8b20SRob Herring    level: warning
1444ec8b20SRob Herring  braces:
1544ec8b20SRob Herring    min-spaces-inside: 0
1644ec8b20SRob Herring    max-spaces-inside: 1
1744ec8b20SRob Herring    min-spaces-inside-empty: 0
1844ec8b20SRob Herring    max-spaces-inside-empty: 0
1944ec8b20SRob Herring  brackets:
2044ec8b20SRob Herring    min-spaces-inside: 0
2144ec8b20SRob Herring    max-spaces-inside: 1
2244ec8b20SRob Herring    min-spaces-inside-empty: 0
2344ec8b20SRob Herring    max-spaces-inside-empty: 0
2444ec8b20SRob Herring  colons: {max-spaces-before: 0, max-spaces-after: 1}
2544ec8b20SRob Herring  commas: {min-spaces-after: 1, max-spaces-after: 1}
2644ec8b20SRob Herring  comments:
27d0dcd0ceSRob Herring    require-starting-space: true
2844ec8b20SRob Herring    min-spaces-from-content: 1
2944ec8b20SRob Herring  comments-indentation: disable
3044ec8b20SRob Herring  document-start:
3144ec8b20SRob Herring    present: true
3244ec8b20SRob Herring  empty-lines:
3344ec8b20SRob Herring    max: 3
3444ec8b20SRob Herring    max-end: 1
3544ec8b20SRob Herring  empty-values:
3644ec8b20SRob Herring    forbid-in-block-mappings: true
3744ec8b20SRob Herring    forbid-in-flow-mappings: true
3844ec8b20SRob Herring  hyphens:
3944ec8b20SRob Herring    max-spaces-after: 1
4044ec8b20SRob Herring  indentation:
4144ec8b20SRob Herring    spaces: 2
4244ec8b20SRob Herring    indent-sequences: true
4344ec8b20SRob Herring    check-multi-line-strings: false
4444ec8b20SRob Herring  trailing-spaces: false
45