pageClass | sidebarDepth | title | description |
---|---|---|---|
rule-details |
0 |
vue/valid-slot-scope |
enforce valid `slot-scope` attributes |
enforce valid
slot-scope
attributes
This rule checks whether every slot-scope
(or scope
) attributes is valid.
This rule reports slot-scope
attributes in the following cases:
- The
slot-scope
attribute does not have that attribute value. E.g.<div slot-scope></div>
::: warning Note This rule does not check syntax errors in directives because it's checked by no-parsing-error rule. :::
Nothing.