# vue-scoped-css/no-parent-of-v-global

disallow parent selector for ::v-global pseudo-element

  • ⚙️ This rule is included in "plugin:vue-scoped-css/vue3-recommended" and "plugin:vue-scoped-css/all".

# 📖 Rule Details

This rule reports parent selector for ::v-global pseudo-element.

<style scoped> /* ✗ BAD */ .bar ::v-global(.foo) {} /* ✓ GOOD */ ::v-global(.foo) {} </style>
Now loading...

# 🔧 Options

Nothing.

# Implementation

Last Updated: 10/15/2021, 12:03:51 PM