yaml-syntax
A file can’t be parsed as YAML.
Severity: error · Since: v1.0.0
What check reports
Section titled “What check reports”For the failing example below, archidocs check prints:
shop/services.yaml:4:1 error yaml-syntax Flow sequence in block collection must be sufficiently indented and end with a ]Nothing in a file that can’t be parsed reaches the Model. Everything it declares goes missing, and every reference to those ids fails as well.
Failing example
Section titled “Failing example”shop/services.yaml:
services: web: name: [WebCorrect the YAML syntax at the reported position.
shop/services.yaml:
services: web: name: WebRelated rules
Section titled “Related rules”invalid-adr-frontmatter: An ADR has no frontmatter, frontmatter that isn’t valid YAML, or a field that is unknown, missing (status,date) or invalid, such as astatusoutside proposed, accepted, rejected, deprecated and superseded.
Documents the beta branch at cd98671, ahead of the latest release, v1.4.0.