Inspectopedia 2025.2 Help

DotEnv

Duplicate keys  

Reports duplicate keys in .env files.

Extra blank line  

Reports extra blank lines in .env files.

Extra spaces surrounding '='  

Reports spaces surrounding separator.

Incorrect delimiter  

Reports incorrect delimiter in .env files ('-' instead of'_').

Invalid leading character  

Reports keys with invalid leading character in .env files.

Key uses lowercase characters  

Reports keys, which use lowercase chars.

Key uses lowercase chars  

Reports keys, which use lowercase chars.

Nested variables must not appear outside double quotes  

Detects instances where nested variables are used outside of double quotes in `.env` files and might not be parsed correctly.

Reference to nested variable ''{0}'' is undefined  

Detects instances where nested variables in `.env` files are accessed without being defined or initialized elsewhere within the project's scope.

Reference to variable is empty  

Highlights instances where a nested variable in a `.env` file is defined but left empty or blank, helping developers identify potentially problematic or incomplete configurations.

Space inside non-quoted value  

Reports spaces inside non-quoted values.

Value has trailing whitespace  

Reports trailing whitespaces.

Last modified: 18 September 2025