Skip to content

Linux

Environment Variable Naming Checker

Check a name against portable POSIX environment variable conventions - UPPER_SNAKE_CASE, no hyphens, no leading digit - with a corrected suggestion.

Variable name

Doesn't follow portable naming conventions

  • Contains lowercase letters - convention is UPPER_SNAKE_CASE.
  • Contains a hyphen - shells treat hyphens specially in some contexts, use underscore instead.
  • Contains characters outside A-Z, 0-9, and underscore - not portable across shells.

Suggestion: DATABASE_URL