ly-lint
TypeScript icon, indicating that this package has built-in type declarations

0.4.4 • Public • Published

dp-eslint-plugin

后台自定义插件

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install dp-eslint-plugin:

npm install dp-eslint-plugin --save-dev

Usage

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
    }
}

Rules

Package Sidebar

Install

npm i ly-lint

Weekly Downloads

2

Version

0.4.4

License

ISC

Unpacked Size

17.4 kB

Total Files

30

Last publish

Collaborators

  • longyzw