eslint-plugin-input-rule

0.0.14-0 • Public • Published

eslint-plugin-input-rule

这是一个规范input的插件

安装

首先需要安装该eslint插件 Input-rule:

yarn add eslint-plugin-input-rule

使用方法

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

{
    "extends":["plugin:eslint-plugin-input-rule/recommended"],
    "plugins": [
        "input-rule"
    ]
}

如果需要单独关闭,在下面rules中,将对应规则设置为false

{
    "rules": {
        "input-rule/valid-s-input": false,
    }
}

支持规则

  • Fill in provided rules here

Package Sidebar

Install

npm i eslint-plugin-input-rule

Weekly Downloads

14

Version

0.0.14-0

License

ISC

Unpacked Size

225 kB

Total Files

34

Last publish

Collaborators

  • jianmofeng