1.0.0 • Published 2 years ago
eslint-plugin-redu-yangxuan-eslint v1.0.0
eslint-plugin-redu-yangxuan-eslint
这个一个热度央选前端Eslint插件库
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-redu-yangxuan-eslint:
npm install eslint-plugin-redu-yangxuan-eslint --save-devUsage
Add redu-yangxuan-eslint to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"redu-yangxuan-eslint"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"redu-yangxuan-eslint/rule-name": 2
}
}Rules
TODO: Run eslint-doc-generator to generate the rules list.