0.0.2 • Published 5 years ago
eslint-plugin-fly v0.0.2
eslint-plugin-fly
This package provides fly's .eslintrc as an extensible shared config.
Install
npm i eslint-plugin-fly -DUsage
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.