vuetifyjs / eslint-plugin-vuetify

An eslint plugin for Vuetify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrectly flags boolean props with no value

dixhuit opened this issue · comments

As I understand it, Vue let's you just specify just the prop name and it will assume you're setting the value to true. E.g:

<v-progress-linear
  indeterminate
/>

Is the same as:

<v-progress-linear
  :indeterminate="true"
/>

But eslint-plugin-vuetify flags the former example as incorrect even though it's fine and it works.

indeterminate requires value