@double-great/remark-lint-alt-text
v1.0.0
Published
A remark-lint plugin that finds unhelpful or missing image alt text
Downloads
1,121
Readme
remark-lint-alt-text
A remark-lint plugin that finds unhelpful or missing image alt text.
It uses the rules definition from https://github.com/double-great/alt-text.
Install
npm install --save-dev remark-cli @double-great/remark-lint-alt-text
Add the remark-lint-alt-text plugin to your remark configuration:
"remarkConfig": {
"plugins": [
"@double-great/remark-lint-alt-text"
]
},
You can also customize suggestions:
"remarkConfig": {
"plugins": [
["@double-great/remark-lint-alt-text", [1, { "empty-alt-text": false }]],
]
},