824f168efc
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. Also ensure osh-infra is a required project for lint job, that matters when running job against another project. Change-Id: Ic5e327cf40c4b09c90738baff56419a6cef132da Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
33 lines
581 B
Plaintext
33 lines
581 B
Plaintext
---
|
|
|
|
yaml-files:
|
|
- '*.yaml'
|
|
- '*.yml'
|
|
- '.yamllint'
|
|
|
|
rules:
|
|
braces: enable
|
|
brackets: enable
|
|
colons: enable
|
|
commas: enable
|
|
comments: enable
|
|
comments-indentation: enable
|
|
document-end: disable
|
|
document-start: enable
|
|
empty-lines: disable
|
|
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: disable
|
|
new-lines: disable
|
|
octal-values: disable
|
|
quoted-strings: disable
|
|
trailing-spaces: disable
|
|
truthy: disable
|
|
...
|