3.0.0 • Published 3 years ago
eslint-plugin-novar1
Licence
ISC
Version
3.0.0
Deps
1
Size
6 kB
Vulns
0
Weekly
0
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