vue-scoped-css/v-slotted-pseudo-style
enforce
:slotted()/::v-slotted()style
- ⚙️ This rule is included in
"plugin:vue-scoped-css/all". - 🔧 The
--fixoption on the command line can automatically fix some of the problems reported by this rule.
📖 Rule Details
This rule enforces slotted pseudo style which you should use :slotted() or ::v-slotted().
🔧 Options
json
{
"vue-scoped-css/v-slotted-pseudo-style": [
"error",
":slotted" // or "::v-slotted"
]
}":slotted"(default) ... requires using:slotted()."::v-slotted"... requires using::v-slotted().