Recently we started seeing CI failing on fi-ansible-lint-diff job, this update to yamllint config should fix that. See https://ansible.readthedocs.io/projects/lint/rules/yaml/#yamllint-configuration for more information about the default yamllint config. Signed-off-by: Michal Konecny <mkonecny@redhat.com>
22 lines
408 B
YAML
22 lines
408 B
YAML
---
|
|
extends: default
|
|
|
|
rules:
|
|
comments:
|
|
min-spaces-from-content: 1
|
|
comments-indentation: false
|
|
braces:
|
|
max-spaces-inside: 1
|
|
octal-values:
|
|
forbid-implicit-octal: true
|
|
forbid-explicit-octal: true
|
|
indentation:
|
|
spaces: 2
|
|
indent-sequences: whatever
|
|
level: warning
|
|
line-length:
|
|
max: 100
|
|
level: warning
|
|
truthy:
|
|
allowed-values: ['true', 'false', 'yes', 'no']
|
|
...
|