0.0.4 • Published 2 years ago

eslint-plugin-aupup-img-alt v0.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

eslint-plugin-aupup-img-alt

Custom img alt attribute validation

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-aupup-img-alt:

npm install eslint-plugin-aupup-img-alt --save-dev

Usage

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

{
    "plugins": [
        "aupup-img-alt"
    ]
}

You can use all of them by extends

{
    "extends": [
        "plugin:aupup-img-alt/recommended"
    ],
}

or you want to use under the rules section.

{
    "rules": {
        "aupup-img-alt/rule-name": 2
    }
}

Rules

TODO: Run eslint-doc-generator to generate the rules list.

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago