dotenv-linter

Linter for .env files

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
dotenv-linter
0.2.05 years ago5 years agoMinified + gzip package size for dotenv-linter in KB

Readme

Linter For .env files

Install

npm install dotenv-linter --save-dev

or
yarn add dotenv-linter --dev

Run

./node_modules/.bin/dotenv-linter

To run without breaking pipeline in case of error:
./node_modules/.bin/dotenv-linter --warn

To lint specific files:
./node_modules/.bin/dotenv-linter .env-staging .env-production

Contribution

Run tests

yarn test

TODO

  • Add eslint
  • Write unit tests
  • Add commit message linter