apm-yaml-valid¶
apm.yml must exist with valid YAML and required fields (name, version)
| Severity | error (auto) |
| Autofix | - |
| Since | v0.7.0 |
| Category | APM (Agent Package Manager) |
Why¶
apm.yml is the manifest for an APM (Agent Package Manager)
repository. Missing or invalid YAML, or missing required fields
(name, version), means the package manager cannot identify or
version the repository. Per the APM manifest schema only name and
version are required; description is optional but must be a string
when present.
Examples¶
Bad:
Good:
How to fix¶
Create apm.yml at the repository root (if missing) and add the
required fields: name and version. Fix any YAML syntax errors
reported in the violation message.
Configuration¶
Run skillsaw explain apm-yaml-valid to see this documentation and the rule's effective configuration in your terminal.