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

feat: extend no duplicate attributes to handle .prop modifier

Open mrzdevcore opened this issue 3 years ago • 0 comments

Extend no-duplicate-attributes rules with allowedDOMProps option to handle v-bind:attribute-name.prop - force a binding to be set as a DOM property.

allowedDOMProps (Array<string>) ... Enables [v-bind:attribute-name.prop] directive to coexist with [v-bind:attribute-name] or [attribute-name] attribute. Default is []

mrzdevcore avatar Jun 29 '22 15:06 mrzdevcore