maranran / eslint-plugin-vue-a11y

Static AST checker for accessibility rules on elements in .vue
MIT License
161 stars 21 forks source link

vue-a11y causes a conflict with vue/require-component-is rule #29

Open wujekbogdan opened 4 years ago

wujekbogdan commented 4 years ago

Describe the bug

When I use eslint-plugin-vue-a11y together with eslint-plugin-vue then vue/require-component-is rule fails to validate the :is property. Even if the :is property exists I'm getting ESLint error.

To Reproduce

  1. Add plugin:vue/recommended and plugin:vue-a11y/recommended to ESLint config's extends section
  2. Use a component tag together with :is
  3. ESLint errors shows up.

Expected behavior There should be no error if the :is property has a proper value.

Screenshots

When plugin:vue-a11y/recommended is active:

Zrzut ekranu 2020-04-21 o 14 52 01

Without plugin:vue-a11y/recommended

Zrzut ekranu 2020-04-21 o 14 54 51

Desktop (please complete the following information):