0.0.3 • Published 2 years ago

@onekeyfe/eslint-plugin-literal-blacklist v0.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

eslint-plugin-onekey-literal-blacklist

OneKey Literal Plugin

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install @onekeyhq/eslint-plugin-literal-blacklist:

$ npm install @onekeyhq/eslint-plugin-literal-blacklist --save-dev

Usage

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

{
    "plugins": [
        "@onekeyhq/literal-blacklist"
    ]
}

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

{
    "rules": {
        "@onekeyhq/literal-blacklist/literal-blacklist": 2
    }
}

or

{
    "extends": [
        "plugin:@onekeyhq/literal-blacklist/recommended"
    ]
}

Supported Rules

  • Fill in provided rules here