biomejs
biome
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Merge branch 'main' into fix/svelte-class-style-shorthand-references
ruidosujeira:fix/svelte-class-style-shorthand-references
7 hours ago
Merge branch 'main' into fix/svelte-class-style-shorthand-references
ruidosujeira:fix/svelte-class-style-shorthand-references
7 hours ago
[autofix.ci] apply automated fixes
ruidosujeira:fix/svelte-class-style-shorthand-references
15 hours ago
[autofix.ci] apply automated fixes
ruidosujeira:fix/svelte-class-style-shorthand-references
15 hours ago
fix(lint): register Svelte class:/style: shorthand directive references `class:active` and `style:color` are shorthands for `class:active={active}` and `style:color={color}`, so the property also names a binding. Only the longhand forms were registered as references, because those carry their value in an initializer that is extracted as an embedded JavaScript snippet. The shorthand form registered nothing, so `noUnusedVariables` and `noUnusedImports` reported a false positive on bindings used only that way. Register the property of a shorthand `class:`/`style:` directive as a reference, mirroring how `bind:` shorthand is already handled. Unlike the other directives, `class:`/`style:` properties are lexed as literals rather than names, since they are class names and CSS property names first, so only those that are valid JavaScript identifiers are registered: `class:is-active` and `style:background-color` cannot name a binding and are skipped.
ruidosujeira:fix/svelte-class-style-shorthand-references
15 hours ago
fix(lint): register Svelte class:/style: shorthand directive references `class:active` and `style:color` are shorthands for `class:active={active}` and `style:color={color}`, so the property also names a binding. Only the longhand forms were registered as references, because those carry their value in an initializer that is extracted as an embedded JavaScript snippet. The shorthand form registered nothing, so `noUnusedVariables` and `noUnusedImports` reported a false positive on bindings used only that way. Register the property of a shorthand `class:`/`style:` directive as a reference, mirroring how `bind:` shorthand is already handled. Unlike the other directives, `class:`/`style:` properties are lexed as literals rather than names, since they are class names and CSS property names first, so only those that are valid JavaScript identifiers are registered: `class:is-active` and `style:background-color` cannot name a binding and are skipped.
ruidosujeira:fix/svelte-class-style-shorthand-references
15 hours ago
docs(changeset): rewrite for readability per review feedback Lists the affected rules with links, avoids "binding" jargon, and adds a Svelte example, per @ematipico's suggestion.
santichausis:fix/svelte-vue-exported-embedded-bindings
16 hours ago
fix(lsp): reparse open documents after settings load
dyc3/embedded-language-config-reparse
16 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
fix(lint): register Svelte class:/style: shorthand directive references
#11281
7 hours ago
d248a1a
ruidosujeira:fix/svelte-class-style-shorthand-references
CodSpeed Performance Gauge
-1%
fix(js_analyze): recognize exported bindings across embedded script blocks
#11220
21 hours ago
8dc7e21
santichausis:fix/svelte-vue-exported-embedded-bindings
CodSpeed Performance Gauge
0%
fix(lsp): reparse open documents after settings load
#11276
2 days ago
3ead319
dyc3/embedded-language-config-reparse
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs