summaryrefslogtreecommitdiffstats
path: root/.yamllint.yml
blob: b05de206263d7b6f6da1b568d553e389fa7792a0 (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
---
yaml-files:
  - '*.yaml'
  - '*.yml'
  - '.yamllint'
  - 'collectors/python.d.plugin/*.conf'
  - 'collectors/python.d.plugin/*/*.conf'

ignore: |
  mqtt_websockets/
  packaging/makeself/tmp/

rules:
  braces: enable
  brackets: enable
  colons: enable
  commas: enable
  comments: disable
  comments-indentation: disable
  document-end: disable
  document-start: disable
  empty-lines: enable
  empty-values: enable
  hyphens: enable
  indentation: enable
  line-length:
    max: 150
    level: warning
    allow-non-breakable-words: true
    allow-non-breakable-inline-mappings: true
  key-duplicates: enable
  key-ordering: disable
  new-line-at-end-of-file: enable
  new-lines: enable
  octal-values: enable
  quoted-strings: disable
  trailing-spaces: enable
  truthy:
    check-keys: false
    allowed-values: ["true", "false", "yes", "no"]