create-react-blog
create-react-blog copied to clipboard
Linter warnings alt required for <Img tags
Maybe this is a within markdown issue so a non issue?
But I believe the default create react app linting that warns <img
tags require an alt attribute is turned off and I suggest this project turns that warning back on.
AFAIK the linter can't lint markdown files, so this would be pretty hard to fix
I'll close this for now, but feel free to re-open if you want to try submitting a PR with a fix to react-scripts-mdx.
Realized this is also issue in regular .js components. Is this easy linting rule to put back? I think where possible good to remind users to include this alt tag for <img in their .js components.
I will look for linting markdown, but I think you are right may be hard/impossible to do.
This should definitely work for .js files. Not sure what's gone wrong.