0.0.0 • Published 6 years ago
ljj-eslint-plugin-demo
Licence
ISC
Version
0.0.0
Deps
1
Size
5 kB
Vulns
0
Weekly
0
eslint-plugin-demo1
no console tiem
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-demo1:
$ npm install eslint-plugin-demo1 --save-dev
Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-demo1 globally.
Usage
Add demo1 to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"demo1"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"demo1/rule-name": 2
}
}
Supported Rules
- Fill in provided rules here