1.0.14 • Published 3 years ago

@comall/eslint-plugin-comall v1.0.14

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

eslint-plugin-comall

Build Status

comall使用的内部eslint规则 .

安装

首先,你需要安装 ESLint:

npm i eslint --save-dev

然后,安装 @comall/eslint-plugin-comall:

npm install @comall/eslint-plugin-comall --save-dev

使用

@comall/comall 添加到你的 .eslintrc 配置文件的插件列表中. 你可以省略 eslint-plugin- 前缀:

{
    "plugins": [
        "@comall/comall"
    ]
}

然后,配置你想要启用的规则.

{
    "rules": {
        "@comall/comall/rule-name": 2
    }
}

或者,使用我们的推荐规则

{
    "extends":[
        "plugin:@comall/comall/recommended"
    ]
}

支持的规则

  • no-expression-in-jsx-props
  • type-pascal
  • enum-initialize
1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago