Socket
Book a DemoInstallSign in
Socket

eslint-plugin-iu

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-iu

personal plugin for li.li

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

eslint-plugin-iu

personal plugin for li.li

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-iu:

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

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

Usage

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

{
    "plugins": [
        "iu"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "iu/async-arrow-function": 2
    }
}

Supported Rules

  • iu/async-arrow-function

在iOS 10.3及以下的浏览器中不支持在class中使用async arrow function。详情可见webkit bug

Keywords

eslint

FAQs

Package last updated on 22 Sep 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

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.