eslint-plugin-fly

v0.0.2
ESlint Plugin for the Hzy0913
eslint eslintplugin

eslint-plugin-fly

This package provides fly's .eslintrc as an extensible shared config.

Install

 npm i eslint-plugin-fly -D

Usage

in your .eslintrc config

{
  ...
  "plugins": [
    "fly"
  ],
  "rules": {
    "fly/no-use-img": "error"
  }
}

Rules

The following are the optional configuration rules provided

    "fly/no-use-img": "error"

You need to use a unified < image / > component to replace the img tag.

npm i eslint-plugin-fly

Metadata

  • MIT
  • Whatever
  • Hzy0913
  • released 12/15/2020

Downloads

Maintainers