-
Notifications
You must be signed in to change notification settings - Fork 7
/
.yamllint.yaml
44 lines (40 loc) · 1018 Bytes
/
.yamllint.yaml
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
# https://yamllint.readthedocs.io/en/stable/configuration.html#configuration
# docker run --volume $(pwd):/code --rm pipelinecomponents/yamllint yamllint config/api_platform
---
yaml-files:
- '*.yaml'
ignore:
- node_modules/
- vendor/
extends: default
# https://yamllint.readthedocs.io/en/stable/rules.html
rules:
# anchors: enable
# braces: enable
# brackets: enable
# colons: enable
# commas: enable
# comments:
# level: warning
# comments-indentation:
# level: warning
# document-end: disable
# document-start:
# level: warning
# empty-lines: enable
# empty-values: disable
# float-values: disable
# hyphens: enable
indentation:
spaces: 4
# key-duplicates: enable
# key-ordering: disable
line-length:
max: 120
# new-line-at-end-of-file: enable
# new-lines: enable
# octal-values: disable
# quoted-strings: disable
# trailing-spaces: enable
# truthy:
# level: warning