Skip to content

ENV

Linters

Linter Additional
dotenv-linter
ENV_DOTENV_LINTER
GitHub stars autofix

Linted files

  • File extensions:
    • .env

Configuration in MegaLinter

Variable Description Default value
ENV_PRE_COMMANDS List of bash commands to run before the linters None
ENV_POST_COMMANDS List of bash commands to run after the linters None
ENV_FILTER_REGEX_INCLUDE Custom regex including filter
ENV_FILTER_REGEX_EXCLUDE Custom regex excluding filter