own-project-prefix
A Project qualifies its own ids.
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:5:13 error own-project-prefix Write "cart", not "shop:cart", inside Project "shop"Every id has one spelling: bare inside its own Project, qualified from any other. If cart and shop:cart both worked inside shop, one Element would be written two ways in the same Project’s files.
Failing example
Section titled “Failing example”shop/services.yaml:
services: web: name: Web relationships: - to: shop:cart cart: name: CartDrop the project: prefix; within its own Project an id is written bare.
shop/services.yaml:
services: web: name: Web relationships: - to: cart cart: name: CartRelated rules
Section titled “Related rules”unknown-project: Aproject:prefix names no Project.
Documents the beta branch at cd98671, ahead of the latest release, v1.4.0.