dotenv-linter

0.2.0 • Public • Published

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

Package Sidebar

Install

npm i dotenv-linter

Weekly Downloads

64

Version

0.2.0

License

MIT

Unpacked Size

13.1 kB

Total Files

16

Last publish

Collaborators

  • omegascorp