---
extends: default
rules:
  # Doorstop requirement files don't have a document-start marker.
  document-start: disable

  # Text blocks in doorstop files can be long; warn rather than error.
  line-length:
    max: 120
    level: warning

  # Prettier formats sequences indented 2 spaces relative to their parent key.
  indentation:
    spaces: 2
    indent-sequences: true
    check-multi-line-strings: false

  # Doorstop uses bare true/false; allow them without requiring on/off/yes/no.
  truthy:
    allowed-values: ["true", "false"]
    check-keys: false

  # Inline comments appear in the gitlab-ci file; allow them at any column.
  comments-indentation: disable
