biomejs
biome
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Update .github/workflows/autofix.yml Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
refactor/salsa-feedback
4 hours ago
refactor: removes mutex from salsa db
refactor/salsa-feedback
4 hours ago
fix(html_parser): skip embedded-language treatment for <pre> in Svelte In Svelte files, <pre> was being parsed the same way as <script>/<style>: its entire content was consumed as a single raw HTML_LITERAL token inside HtmlEmbeddedContent. That prevented the expression-tracking passes in parse_embedded_nodes from seeing any Svelte blocks inside <pre>, so variables referenced only via <pre>{@html expr}</pre> or <pre>{expr}</pre> were still incorrectly reported as unused by noUnusedVariables. The formatter already has an independent HTML_VERBATIM_TAGS list that includes "pre", which causes it to emit <pre> content verbatim regardless of how the parser represents the children. Skipping the embedded-language path in the parser for Svelte is therefore safe: formatting is unchanged, and {@html} / interpolation nodes inside <pre> are now visible as proper AST descendants. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Mokto:fix/svelte-at-html-reference
9 hours ago
fix(html_parser): skip embedded-language treatment for <pre> in Svelte In Svelte files, <pre> was being parsed the same way as <script>/<style>: its entire content was consumed as a single raw HTML_LITERAL token inside HtmlEmbeddedContent. That prevented the expression-tracking passes in parse_embedded_nodes from seeing any Svelte blocks inside <pre>, so variables referenced only via <pre>{@html expr}</pre> or <pre>{expr}</pre> were still incorrectly reported as unused by noUnusedVariables. The formatter already has an independent HTML_VERBATIM_TAGS list that includes "pre", which causes it to emit <pre> content verbatim regardless of how the parser represents the children. Skipping the embedded-language path in the parser for Svelte is therefore safe: formatting is unchanged, and {@html} / interpolation nodes inside <pre> are now visible as proper AST descendants. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Mokto:fix/svelte-vue-astro-unused-self-suppression
9 hours ago
fix(svelte): share script-block scope so cross-referenced bindings aren't flagged as unused A Svelte component's `<script module>` and `<script>` compile to one module and share a top-level scope, but each block was analyzed as an isolated embedded snippet. A binding (import, function, or variable) declared in one block and used only in the other was therefore reported as unused by noUnusedImports / noUnusedVariables / useImportType. The workspace now also collects value/type references from Svelte source `<script>` snippets (not just template snippets), so a name referenced in the sibling block counts as used. Gated to Svelte, where the two blocks genuinely share a module scope; Vue/Astro are unchanged. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Mokto:fix/svelte-script-cross-references
14 hours ago
refactor(svelte): use interpolated-string parser nodes from #10555 Replace the embedded-node string-parsing hack with consumption of the HtmlAttributeSingleTextExpression nodes that #10555 now emits inside SvelteTemplateAttributeValue for interpolated quoted attribute values (`style="top: {top}px"`). - Drop build_svelte_string_interpolation_candidates / svelte_interpolation_ranges and the HtmlString branch in the Svelte pass. The interpolation nodes are captured by the existing Pass-4 HtmlAttributeSingleTextExpression branch, whose parent guard already admits them. - Remove the now-unused HtmlString / TextRange imports and the hack's unit test. - visit_html_root doc comment: interpolations flow through the snippet path, not this function. - Collapse a nested if in use_import_type into a let-chain (clippy).
Mokto:fix/svelte-vue-astro-unused-self-suppression
15 hours ago
refactor(svelte): use interpolated-string parser nodes from #10555 Replace the embedded-node string-parsing hack with consumption of the HtmlAttributeSingleTextExpression nodes that #10555 now emits inside SvelteTemplateAttributeValue for interpolated quoted attribute values (`style="top: {top}px"`). - Drop build_svelte_string_interpolation_candidates / svelte_interpolation_ranges and the HtmlString branch in the Svelte pass. The interpolation nodes are captured by the existing Pass-4 HtmlAttributeSingleTextExpression branch, whose parent guard already admits them. - Remove the now-unused HtmlString / TextRange imports and the hack's unit test. - visit_html_root doc comment: interpolations flow through the snippet path, not this function.
Mokto:fix/svelte-vue-astro-unused-self-suppression
15 hours ago
feat(html_parser): parse Svelte interpolations in quoted attribute values (#10555) Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
main
1 day ago
Latest Branches
CodSpeed Performance Gauge
-8%
refactor: removes mutex from salsa db
#10608
4 hours ago
bcd95d6
refactor/salsa-feedback
CodSpeed Performance Gauge
0%
[WIP] fix(html): register {@html} expression as a template reference in Svelte
#10535
9 hours ago
e89610b
Mokto:fix/svelte-at-html-reference
CodSpeed Performance Gauge
-6%
fix(lint): noUnusedImports/noUnusedVariables now flag truly-unused script bindings in Svelte/Vue/Astro
#10473
9 hours ago
2d6c788
Mokto:fix/svelte-vue-astro-unused-self-suppression
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs