0.0.4 • Published 1 year ago

eslint-plugin-gzlaike v0.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

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

需要输入一次性验证码

2) 修改版本号 3) 执行 npm publish

在HBuilderX中使用

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