You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed [#9997](https://github.com/biomejs/biome/issues/9997): [`noDuplicateSelectors`](https://biomejs.dev/linter/rules/no-duplicate-selectors/) no longer reports false positives for selectors inside `@scope` queries. Biome now treats `@scope` as a separate at-rule context, like `@media`, `@supports`, `@container`, and `@starting-style`.
6
+
7
+
The following snippet is no longer flagged as a duplicate:
86 │ /* 16. Duplicate inside the same @scope block */
523
+
87 │ @scope (.theme-dark) {
524
+
>88 │ .card {}
525
+
│ ^^^^^^^^
526
+
89 │ .card {}
527
+
90 │ }
528
+
529
+
i Remove or merge the duplicate rule to keep the stylesheet clean.
530
+
531
+
i This rule belongs to the nursery group, which means it is not yet stable and may change in the future. Visit https://biomejs.dev/linter/#nursery for more information.
0 commit comments