pageClass | sidebarDepth | title | description |
---|---|---|---|
rule-details |
0 |
vue-scoped-css/no-deprecated-deep-combinator |
disallow using deprecated deep combinators |
disallow using deprecated deep combinators
- βοΈ This rule is included in
"plugin:vue-scoped-css/all"
and"plugin:vue-scoped-css/vue3-recommended"
. - π§ The
--fix
option on the command line can automatically fix some of the problems reported by this rule.
This rule reports the use of deprecated deep combinators as errors.
<style scoped>
/* β BAD */
.a >>> .b {}
.a /deep/ .b {}
/* β GOOD */
.a ::v-deep(.b) {} /* for Vue.js 3.x */
.a ::v-deep .b {} /* for Vue.js 2.x */
</style>
Nothing.