vue-a11y/eslint-plugin-vuejs-accessibility

[anchor-has-content] An error occurs even if the content is contained

yamanoku opened this issue ยท 5 comments

Details

Screen Shot 2020-09-21 at 19 52 45

The Lint rule of anchor-has-content is triggered even if there is an <img> element (an alt attribute is also present).

Version

"eslint-plugin-vuejs-accessibility": "0.5.1"

#66 similar issue?

Weird. This is a dup of #48. I thought this had been fixed. I'm currently unable to reproduce this. It should be released in v0.5.0. You're 100% sure you're on the latest version?

I checked and it is the latest version.
https://github.com/yamanoku/yamanoku.github.io/blob/add-buymeacoffee-widget/package.json

Node.js is using the latest stable version, is there any other possible cause?

The eslint configuration file is:
https://github.com/yamanoku/yamanoku.github.io/blob/add-buymeacoffee-widget/.eslintrc.js

@kddeisz
Continued: I tried running lint, but there was no problem. It seems to be a display problem of VSCode ๐Ÿค”
Thank you for letting me know that you have already addressed this issue. I'll close the Issue here.

@kddeisz
Continued: I tried running lint, but there was no problem. It seems to be a display problem of VSCode
Thank you for letting me know that you have already addressed this issue. I'll close the Issue here.

It could be a problem of caching :D (it has happened to me before).

I think just running npx eslint . already cleans the cache ๐Ÿค” but I'm not completely sure.