vue-scoped-css/require-v-global-argument
require selector argument to be passed to
::v-global()
- ⚙️ This rule is included in
"plugin:vue-scoped-css/all"
and"plugin:vue-scoped-css/vue3-recommended"
.
📖 Rule Details
This rule reports ::v-global
pseudo-element with no selector argument passed.
<style scoped>
/* ✗ BAD */
::v-global() {}
::v-global {}
/* ✓ GOOD */
::v-global(.foo .bar) {}
</style>
🔧 Options
Nothing.