Repository navigation
feat(css): support expression-based at-root queries - #12048
Conversation
|
A maintainer will take a look as soon as they can. In the meantime, please make sure that:
|
|
Parser conformance results onjs/262
jsx/babel
markdown/commonmark
symbols/microsoft
ts/babel
ts/microsoft
yaml/yaml-test-suite
|
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. 🧰 Additional context used📚 Code guidelines (1)No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
⛔ Files ignored due to path filters (20)
📒 Files selected for processing (3)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review. WalkthroughThe parser now accepts general SCSS expressions and modifier-and-rules clauses in Suggested reviewers: Priority: ⬇️ Low Change: Feature Merge Risk: ⚪ Minimal · up to This change broadens SCSS Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 2 systems. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Merging this PR will not alter performance
|
| Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|
grit_query_anchor_kinds[code_snippet] |
< 1 ns | < 1 ns | N/A | |
grit_query_anchor_kinds[metavariable] |
< 1 ns | < 1 ns | N/A | |
grit_query_anchor_kinds[or_pattern] |
< 1 ns | < 1 ns | N/A |
Comparing dbezrukov/scss-dynamic-at-root-queries (214f070) with main (4db3f58)
Footnotes
-
299 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
7978e5e to
214f070
Compare
Summary
Adds parser and formatter support for expression-based SCSS
@at-rootqueries.Test Plan
cargo test -p biome_css_parsercargo test -p biome_css_formatter