REF010: unknown-parent-project
parent names a project that does not exist or is not inheritable
| Code | REF010 |
| Name | unknown-parent-project |
| Category | References (REF) |
| Default severity | error |
| Enabled by default | yes |
| Fix available | no |
| ign-lint equivalent | none |
What it does
Section titled “What it does”Checks the parent of every project.json: the parent must be a project
next to it (in the same projects directory), it must be inheritable,
and following parents must not lead back to the project.
Why is this bad?
Section titled “Why is this bad?”The gateway refuses to load a project whose parent is missing or not inheritable, and everything the project inherits (views, scripts, named queries) is unavailable.
Example
Section titled “Example”{"title": "HMI", "parent": "global", "inheritable": false}when global/project.json has "inheritable": false. Use instead:
{"title": "Global", "inheritable": true}in global/project.json.
Generated from the rule metadata by iglint generate-docs; iglint rule REF010 prints the same page in the terminal. Source: docs/rules/REF010.md.