44d263b2bf
- braces - brackets - colons - commas - comments - hyphens - indentation - key-duplicates with corresponding code changes. Also disable enforcement for document-(start|end) rules and disables warnings to increase readability. * Unrestrict octal values rule since benefits of file modes readability exceed possible issues with yaml 1.2 adoption in future k8s versions. These issues will be addressed when/if they occur. Change-Id: Ic5e327cf40c4b09c90738baff56419a6cef132da Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
33 lines
579 B
Plaintext
33 lines
579 B
Plaintext
---
|
|
|
|
yaml-files:
|
|
- '*.yaml'
|
|
- '*.yml'
|
|
- '.yamllint'
|
|
|
|
rules:
|
|
braces: enable
|
|
brackets: enable
|
|
colons: enable
|
|
commas: enable
|
|
comments: enable
|
|
comments-indentation: disable
|
|
document-end: disable
|
|
document-start: disable
|
|
empty-lines: enable
|
|
empty-values: disable
|
|
hyphens: enable
|
|
indentation:
|
|
spaces: 2
|
|
indent-sequences: whatever
|
|
key-duplicates: enable
|
|
key-ordering: disable
|
|
line-length: disable
|
|
new-line-at-end-of-file: enable
|
|
new-lines: enable
|
|
octal-values: disable
|
|
quoted-strings: disable
|
|
trailing-spaces: enable
|
|
truthy: disable
|
|
...
|