vue-scoped-css/v-global-pseudo-style
enforce
:global()/::v-global()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 global pseudo style which you should use :global() or ::v-global().
🔧 Options
json
{
"vue-scoped-css/v-global-pseudo-style": [
"error",
":global" // or "::v-global"
]
}":global"(default) ... requires using:global()."::v-global"... requires using::v-global().