0.0.2 • Published 2 years ago
@syyfe/eslint-plugin v0.0.2
syy-eslint-plugin
商业云 Eslint 插件
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install @syyfe/eslint-plugin
:
npm install @syyfe/eslint-plugin --save-dev
Usage
Add @syyfe
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["@syyfe"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"@syyfe/validate-router": "error"
}
}
Supported Rules
- Fill in provided rules here