@onekeyfe/eslint-plugin-literal-blacklist

0.0.3 • Public • Published

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

Package Sidebar

Install

npm i @onekeyfe/eslint-plugin-literal-blacklist

Weekly Downloads

1

Version

0.0.3

License

ISC

Unpacked Size

7.01 kB

Total Files

17

Last publish

Collaborators

  • 1keyfe
  • loatheb