eslint-plugin-imgofempty
v0.0.46
Published
Limit images to be empty
Downloads
55
Maintainers
Readme
eslint-plugin-imgofempty
Limit images to be empty
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-imgofempty
:
npm install eslint-plugin-imgofempty --save-dev
Usage
Add imgofempty
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"imgofempty"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"imgofempty/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.