.env
files. It helps ensure your environment files are consistent, typo-free, and follow best practices.
Files
Dotenv Linter will run on files with the following patterns:**/.env
**/.env.*
.env
(e.g., test.env
). However .env.dev
or .env.local
is fine.
Dotenv Linter does not require configuration to run and automatically anlysises
.env
files. If no configuration file is found, it will use default settings.Features
Dotenv Linter can detect:- Key duplication
- Missing values
- Incorrect formatting
- Invalid characters
- And many more issues