Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-gmfe

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-gmfe

## Installation

  • 0.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-plugin-gmfe

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-gmfe:

$ npm install eslint-plugin-gmfe --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-gmfe globally.

Usage

添加配置到 .eslintrc

  • 方式一 使用全部 recommended 规则
{
    "extends": [
        "plugin:gmfe/recommended"
    ]
}
  • 方式二 单独使用规则
{
    "plugins":[
        "gmfe"
    ],
    "rules": {
        "gmfe/no-implict-lodash-each-return": "error",
    }
}

规则列表

no-implict-lodash-each-return _.each/forEach 回调只允许使用块级函数体语法,并且不包含 return 语句 或 return return true return false

Keywords

FAQs

Package last updated on 27 Mar 2019

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc