0.0.1 • Published 2 years ago

eslint-plugin-define-url v0.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

eslint-plugin-define-url

自定义链接的规则

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-define-url:

npm install eslint-plugin-define-url --save-dev

Usage

Add define-url to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "define-url"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "define-url/rule-name": 2
    }
}

Supported Rules

  • Fill in provided rules here