vuetifyjs / eslint-plugin-vuetify

An eslint plugin for Vuetify
Other
120 stars 26 forks source link

Incorrectly flags boolean props with no value #81

Closed dixhuit closed 7 months ago

dixhuit commented 9 months ago

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

KaelWD commented 7 months ago

That isn't from eslint-plugin-vuetify.