---
name: dotenv-linter
description: "Use when adopting Dotenv Linter to assess this standard: Keep environment variable files unambiguous"
---

# Apply Dotenv Linter

Check environment file syntax, duplicate keys and inconsistent names. Use example files with synthetic values when exposing findings in CI.

## Procedure

1. Inspect the repository configuration and identify the files or targets covered by Dotenv Linter.
2. Use Dotenv Linter in this repository to meet this standard: Keep environment variable files unambiguous. Check environment file syntax, duplicate keys and inconsistent names. Use example files with synthetic values when exposing findings in CI. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.
3. Record the tool version, configuration, scope and findings. Explain any checks that could not run.
4. Use the same invocation after changes and compare the evidence against the baseline.

Refer to [the upstream documentation](https://dotenv-linter.github.io/) for configuration and prerequisites.
