eslint-plugin-vue-a11y icon indicating copy to clipboard operation
eslint-plugin-vue-a11y copied to clipboard

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

Open wujekbogdan opened this issue 5 years ago • 0 comments

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):

  • OS: macOS
  • Version eslint-plugin-vue^6.2.2, eslint-plugin-vue-a11y^0.0.31

wujekbogdan avatar Apr 21 '20 13:04 wujekbogdan