1extends: relaxed
2
3rules:
4  line-length:
5    # 80 chars should be enough, but don't fail if a line is longer
6    max: 110
7    allow-non-breakable-words: true
8    level: warning
9  braces:
10    min-spaces-inside: 0
11    max-spaces-inside: 1
12    min-spaces-inside-empty: 0
13    max-spaces-inside-empty: 0
14  brackets:
15    min-spaces-inside: 0
16    max-spaces-inside: 1
17    min-spaces-inside-empty: 0
18    max-spaces-inside-empty: 0
19  colons: {max-spaces-before: 0, max-spaces-after: 1}
20  commas: {min-spaces-after: 1, max-spaces-after: 1}
21  comments:
22    require-starting-space: true
23    min-spaces-from-content: 1
24  comments-indentation: disable
25  document-start:
26    present: true
27  empty-lines:
28    max: 3
29    max-end: 1
30  empty-values:
31    forbid-in-block-mappings: true
32    forbid-in-flow-mappings: true
33  hyphens:
34    max-spaces-after: 1
35  indentation:
36    spaces: 2
37    indent-sequences: true
38    check-multi-line-strings: false
39  trailing-spaces: false
40