require-digitalocean-app-spec-name
Require top-level name in DigitalOcean App Platform specs.
Targeted pattern scopeâ
- Root-level
name:in.do/app.yamlor.do/app.yml.
What this rule reportsâ
This rule reports app specs that omit explicit app identity.
Why this rule existsâ
Top-level app naming improves reviewability and avoids ambiguous app-spec ownership in multi-app repositories.
â Incorrectâ
region: nyc
services:
- name: web
â Correctâ
name: demo-app
region: nyc
services:
- name: web
When not to use itâ
Disable this rule if app identity is intentionally injected by external tooling and omitted from the checked-in spec.
Rule catalog ID: R094