eslint-config-lylint
v0.0.2
Published
通用lint规则配置插件
Maintainers
Readme
dp-eslint-plugin
后台自定义插件
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install dp-eslint-plugin:
npm install dp-eslint-plugin --save-devUsage
Add dp-lint to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"dp-lint"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"dp-lint/rule-name": 2
}
}