npm.io
0.0.4 • Published 3 years ago

eslint-plugin-gzlaike

Licence
ISC
Version
0.0.4
Deps
1
Size
11 kB
Vulns
0
Weekly
0

eslint-plugin-gzlaike

gzlaike

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-gzlaike:

npm install eslint-plugin-gzlaike --save-dev

Usage

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

{
    "plugins": [
        "gzlaike"
    ]
}

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

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

Supported Rules

  • Fill in provided rules here

发布到npm

  1. 在项目根目录执行 npm login
npm账号:
gzlaike
huangyihua@laike-tech.com
laike123..

需要输入一次性验证码

  1. 修改版本号
  2. 执行 npm publish

在HBuilderX中使用

1)进入到HBuilder的安装目录的HBuilderX\plugins下面 2)执行安装npm install eslint-plugin-gzlaike

Keywords