-
-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy path.yamllint.yaml
More file actions
39 lines (37 loc) · 950 Bytes
/
.yamllint.yaml
File metadata and controls
39 lines (37 loc) · 950 Bytes
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
# We use yamllint to ensure our YAML files are well-formed and follow best practices.
# In future, I (@AugustinMauroy) want to use `codemod validate` to validate YAML files.
# But this feature only check `workflow.yaml` and not `codemod.yaml`.
yaml-files:
- '*.yaml'
- '*.yml'
rules:
anchors: enable
braces: enable
brackets: enable
colons: enable
commas: enable
comments:
level: warning
comments-indentation:
level: warning
document-end: disable
document-start: disable
empty-lines: enable
empty-values: disable
float-values: disable
hyphens: enable
indentation: enable
key-duplicates: enable
key-ordering: disable
line-length:
level: warning
max: 100
allow-non-breakable-words: true
allow-non-breakable-inline-mappings: false
new-line-at-end-of-file: enable
new-lines: enable
octal-values: disable
quoted-strings: disable
trailing-spaces: enable
truthy:
level: warning