Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 620 Bytes

README.md

File metadata and controls

46 lines (30 loc) · 620 Bytes

eslint-plugin-misuse

crypto misuse

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-misuse:

npm install eslint-plugin-misuse --save-dev

Usage

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

{
    "plugins": [
        "misuse"
    ]
}

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

{
    "rules": {
        "misuse/rule-name": 2
    }
}

Supported Rules

  • Fill in provided rules here