Assignment and requirement checks
The validator analyzes lines intended as environment assignments, reports syntax problems, and identifies repeated variable names. Missing-variable checks compare the names present in the file with the names marked as required; the file's values cannot establish that requirement by themselves. A duplicate warning matters because different dotenv consumers may resolve repeated assignments differently.