Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork700
Description
What rule do you want to change?
v-slot-style
Does this change cause the rule to produce more or fewer warnings?
Depends
How will the change be implemented? (New option, new default behavior, etc.)?
Add a new style, sayshortest, which would act the same asshorthand for non-default slots and additionally suggest using# instead of#default (see an example below).
Please provide some example code that this change will affect:
It is possible to use an even shorter syntax ofv-slot with the default slot: simply# (withoutdefault word) (playground):
<Comp#="{foo}">...</Comp><Comp><template#="{foo}">...</template></Comp>
What does the rule currently do for this code?
Currently, it seems like# attributes are ignored by this rule completely.
What will the rule do after it's changed?
# attributes will be recognized and reported if they don't satisfy the enforced style.
Additional context