@onekeyfe/eslint-plugin-literal-blacklist
v0.0.3
Published
OneKey Literal Blacklist
Readme
eslint-plugin-onekey-literal-blacklist
OneKey Literal Plugin
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install @onekeyhq/eslint-plugin-literal-blacklist:
$ npm install @onekeyhq/eslint-plugin-literal-blacklist --save-devUsage
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
