Skip to main content

require-digitalocean-app-spec-region-lowercase

Require DigitalOcean app spec region values to be lowercase.

Targeted pattern scope​

  • Top-level region value in .do/app.yaml / .do/app.yml.

What this rule reports​

This rule reports non-lowercase region values.

Why this rule exists​

Lowercase canonical region values reduce typo drift and keep deployment config style consistent.

❌ Incorrect​

region: NYC

✅ Correct​

region: nyc

When not to use it​

Disable this rule if region normalization is handled externally and uppercase values are intentionally supported.

Rule catalog ID: R115

Further reading​