extends: default

rules:
  # Increase line length limit for Ansible
  line-length:
    max: 120
    level: warning

  # Allow indentation for sequences (lists)
  indentation:
    indent-sequences: true
    check-multi-line-strings: false

  # Disable comments indentation check (can be too strict)
  comments-indentation: disable

  # Allow single space from content for comments
  comments:
    min-spaces-from-content: 1

  # Required by ansible-lint
  braces:
    max-spaces-inside: 1

  # Required by ansible-lint
  octal-values:
    forbid-implicit-octal: true
    forbid-explicit-octal: true

  # Allow empty lines at end of document
  empty-lines:
    max-end: 1

  # Don't require document start marker
  document-start:
    present: false

  # Allow truthy values (yes/no, on/off)
  truthy:
    allowed-values: ['true', 'false', 'yes', 'no', 'on', 'off']
    check-keys: false
