---

# The following settings are recommended by ansible-lint project. They
# may conflict with our other YAML files, but as of now, we test only
# a very small subset of all YAML files in the repository. Once we start
# extending the coverage, it may become a problem, and we will need to
# resolve it, but the settings below seem reasonable enough that any
# YAML file could comply.

extends: default

rules:
  comments:
    min-spaces-from-content: 1

  comments-indentation: false

  braces:
    max-spaces-inside: 1

  indentation:
    spaces: 2
    indent-sequences: true

  line-length:
    max: 100

  octal-values:
    forbid-implicit-octal: true
    forbid-explicit-octal: true

  truthy:
    level: error

    allowed-values:
      - "true"
      - "false"

    check-keys: true
