Socket
Book a DemoInstallSign in
Socket

@comall/eslint-plugin-comall

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@comall/eslint-plugin-comall

comall自定义的eslint规则

latest
npmnpm
Version
1.0.14
Version published
Maintainers
2
Created
Source

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

Keywords

eslint

FAQs

Package last updated on 03 Nov 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.