8cfa2aa390
- brackets - braces - colon - commas - comments - document-end - document-start - empty-lines - hyphens - indentation - new-line-at-end-of-file - new-lines - octal-values - trailing-spaces with corresponding code adjustment. Also add yamllint.conf under the check. Change-Id: Ie6251c9063c9c99ebe7c6db54c65d45d6ee7a1d4
36 lines
609 B
Plaintext
36 lines
609 B
Plaintext
---
|
|
|
|
yaml-files:
|
|
- '*.yaml'
|
|
- '*.yml'
|
|
- '.yamllint'
|
|
|
|
rules:
|
|
braces: enable
|
|
brackets: enable
|
|
colons: enable
|
|
commas: enable
|
|
comments: enable
|
|
comments-indentation:
|
|
level: warning
|
|
document-end: enable
|
|
document-start: enable
|
|
empty-lines: enable
|
|
empty-values:
|
|
level: warning
|
|
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: enable
|
|
quoted-strings: disable
|
|
trailing-spaces: enable
|
|
truthy:
|
|
level: warning
|
|
...
|