nested-project
A project.yaml sits inside another Project’s folder.
Severity: error · Since: v1.0.0
What check reports
Section titled “What check reports”For the failing example below, archidocs check prints:
shop/legacy/project.yaml:1:1 error nested-project Project folder shop/legacy is inside Project "shop" (shop); Projects can't nestA Project is one Team’s folder: it namespaces the ids declared in it and gives them a default Owner. A Project inside another would put its files in two Teams’ folders at once.
Failing example
Section titled “Failing example”shop/legacy/project.yaml:
id: legacyname: Legacyowner: coreMove the inner Project’s folder out of the outer Project’s folder.
legacy/project.yaml:
id: legacyname: Legacyowner: coreshop/legacy/project.yaml: removed.
Related rules
Section titled “Related rules”file-outside-project: A model file is under no Project.
Documents the beta branch at cd98671, ahead of the latest release, v1.4.0.