0.0.2 • Published 1 year ago
eslint-plugin-imoo-tools v0.0.2
eslint-plugin-imoo-tools
imoo 工具箱
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-imoo-tools
:
npm install eslint-plugin-imoo-tools --save-dev
Usage
Add imoo-tools
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"imoo-tools"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"imoo-tools/rule-name": 2
}
}
Configurations
TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).
Rules
TODO: Run eslint-doc-generator to generate the rules list.