Skip to content

Latest commit

 

History

History
74 lines (58 loc) · 1.65 KB

valid-slot-scope.md

File metadata and controls

74 lines (58 loc) · 1.65 KB
pageClass sidebarDepth title description
rule-details
0
vue/valid-slot-scope
enforce valid `slot-scope` attributes

vue/valid-slot-scope

enforce valid slot-scope attributes

This rule checks whether every slot-scope (or scope) attributes is valid.

📖 Rule Details

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>
```vue ... ... ... ... ... ```

::: warning Note This rule does not check syntax errors in directives because it's checked by no-parsing-error rule. :::

🔧 Options

Nothing.

👫 Related rules

📚 Further reading

🔍 Implementation