eslint-plugin-novar1
v3.0.0
Published
不允许出现全局变量
Downloads
10
Maintainers
Readme
eslint-plugin-novar1
不允许出现全局变量
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-novar1
:
npm install eslint-plugin-novar1 --save-dev
Usage
Add novar1
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"novar1"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"novar1/rule-name": 2
}
}
Supported Rules
- Fill in provided rules here