I got tired of deploying broken configs, so I built dotenv-scan
typescript
dev.to
Every team I've worked on has had this incident at least once. Friday afternoon deploy. CI is green. You push to production. Five minutes later, someone's pinging you in Slack: the app is crashing on startup. You SSH in, check the logs, and there it is: Error: DATABASE_URL is not defined You forgot to add the new environment variable to production. The .env file on your machine has it. The .env.example in the repo doesn't. Nobody noticed during review. Half an hour of your Friday afte