eslint-plugin-loadsh-import
v0.0.2
Published
loadsh es 按需导入
Maintainers
Readme
eslint-plugin-loadsh-import
loadsh es 按需导入
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-loadsh-import:
npm install eslint-plugin-loadsh-import --save-devUsage
Add loadsh-import to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"loadsh-import"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"loadsh-import/rule-name": 2
}
}Rules
TODO: Run eslint-doc-generator to generate the rules list.
