eslint-plugin-yiqiang
v0.0.1
Published
for testing create eslint plugin
Downloads
5
Maintainers
Readme
eslint-plugin-yiqiang
for testing create eslint plugin
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-yiqiang
:
npm install eslint-plugin-yiqiang --save-dev
Usage
Add yiqiang
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"yiqiang"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"yiqiang/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.