Skip to content

Files

Latest commit

 

History

History
21 lines (15 loc) · 340 Bytes

no-deprecated-deep-combinator.md

File metadata and controls

21 lines (15 loc) · 340 Bytes

Pattern: Deprecated deep combinator usage

Issue: -

Description

Disallows use of deprecated deep combinators (>>> and /deep/) in favor of modern syntax.

Examples

<style scoped>
/* ✗ BAD */
.a >>> .b {}
.a /deep/ .b {}

/* ✓ GOOD */
.a ::v-deep(.b) {} /* Vue.js 3.x */
.a ::v-deep .b {} /* Vue.js 2.x */
</style>