Skip to content

eslint-plugin-vue vs vuetify #11486

Answered by KaelWD
icleolion asked this question in General
Discussion options

You must be logged in to vote

Your codepen link is blank, but I'm assuming it's about item.foo slots. eslint-plugin-vue is technically correct, but v-slot is a compiler directive and actually ignores modifiers - v-slot:foo.bar is compiled to scopedSlots: { 'foo.bar' () { ... instead of directives: [{ name: 'slot', arg: 'foo', modifiers: { bar: true } }]

So eslint-plugin-vue is actually wrong here, because this convention does work as expected.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by icleolion
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants