🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@vtian/eslint-plugin-checkhost

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vtian/eslint-plugin-checkhost

检查域名更换jd.com -> jdl.cn

latest
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

eslint-plugin-checkhost

检查vue <template>模板中的域名,提示将jd.com 更换为jdl.cn

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-checkhost:

$ npm install eslint-plugin-checkhost --save-dev

Usage

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

{
    "plugins": [
        "checkhost"
    ]
}

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

{
    "rules": {
        "checkhost/rule-name": 2
    }
}

Supported Rules

  • Fill in provided rules here

Keywords

eslint

FAQs

Package last updated on 20 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts