0.0.0 • Published 1 year ago

eslint-plugin-no-private-key v0.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

eslint-plugin-no-private-key

private key is not allowed to live in the code

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-no-private-key:

npm install eslint-plugin-no-private-key --save-dev

Usage

Add no-private-key to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "no-private-key"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "no-private-key/rule-name": 2
    }
}

Rules

TODO: Run eslint-doc-generator to generate the rules list.