0.0.10 • Published 1 year ago
eslint-plugin-my-demo v0.0.10
eslint-plugin-eslintdemo
eslint plugin demo
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-my-demo
:
npm install eslint-plugin-eslintdemo --save-dev
Usage
Add my-demo
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"my-demo"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"my-demo/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.