New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

dotenv-linter

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dotenv-linter

Linter for .env files

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

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

Keywords

ast

FAQs

Package last updated on 07 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts