From 091e89759fccf38f736cf71af2e54309e46def16 Mon Sep 17 00:00:00 2001 From: Yoshihiro OKUMURA Date: Wed, 2 Dec 2026 15:40:00 +0900 Subject: [PATCH] style: suppress noDescendingSpecificity false positives from biome 2.6.9 - Biome 2.6.9 compares the .indexTree:global(...) rules by .indexTree alone, so it flags rules that target other rc-tree elements - add biome-ignore comments to the switcher, content wrapper and title rules in IndexTree.module.css --- src/database/blocks/IndexTree.module.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/database/blocks/IndexTree.module.css b/src/database/blocks/IndexTree.module.css index 8bebe62..59ecd93 100644 --- a/src/database/blocks/IndexTree.module.css +++ b/src/database/blocks/IndexTree.module.css @@ -69,6 +69,7 @@ display: none; } +/* biome-ignore lint/style/noDescendingSpecificity: the :global() part targets another rc-tree element than the rules above */ .indexTree:global(.rc-tree .rc-tree-treenode .rc-tree-switcher) { display: inline-block; height: 20px; @@ -98,11 +99,13 @@ background-position: -32px -20px; } +/* biome-ignore lint/style/noDescendingSpecificity: the :global() part targets another rc-tree element than the rules above */ .indexTree:global(.rc-tree .rc-tree-treenode .rc-tree-node-content-wrapper) { display: inline-block; height: 20px; cursor: pointer; } +/* biome-ignore lint/style/noDescendingSpecificity: the :global() part targets another rc-tree element than the rules above */ .indexTree:global(.rc-tree .rc-tree-treenode .rc-tree-node-content-wrapper .rc-tree-title) { vertical-align: middle; line-height: 20px;