0.0.2 • Published 3 years ago

eslint-plugin-fly v0.0.2

Weekly downloads
116
License
MIT
Repository
github
Last release
3 years ago

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.