@biomejs/biome 2.3.3
2.3.3
Patch Changes
-
#7907
57bd662Thanks @ematipico! - Fixed #7839. Now the Biome parser correctly parses the Astro frontmatter even when a triple fence is inside quotes. -
#7934
a35c496Thanks @alissonlauffer! - Fixed #7919: The HTML parser now correctly handles Unicode BOM (Byte Order Mark) characters at the beginning of HTML files, ensuring proper parsing and tokenization. -
#7869
c80361dThanks @matanshavit! - Fixed #7864: Biome now preserves component tag name casing in Svelte, Astro, and Vue files. -
#7926
69cececThanks @matanshavit! - Added the rulenoParametersOnlyUsedInRecursion.This rule detects function parameters that are exclusively used in recursive calls and can be removed to simplify the function signature since they are effectively unused.
function factorial(n, acc) { if (n === 0) return 1; return factorial(n - 1, acc); // acc is only used here }Fixes #6484.
-
#7774
2509b91Thanks @dibashthapa! - Fixed #7657: Added the new ruleno-unknown-propertyfrom ESLint -
#7918
7165d06Thanks @dyc3! - Fixed #7913: The CSS parser, withtailwindDirectivesenabled, will now correctly handle@slot. -
#7959
ffae203Thanks @siketyan! - Fixed the Biome Language Server so it no longer returns an internal error when the formatter is disabled in the configuration.
What's Changed
- fix(html): parse frontmatter inside quotes by @ematipico in https://github.com/biomejs/biome/pull/7907
- fix(parse/css): add
@slottailwind at rule by @dyc3 in https://github.com/biomejs/biome/pull/7918 - fix(formatter): preserve component tag casing in Svelte/Astro/Vue files by @matanshavit in https://github.com/biomejs/biome/pull/7869
- feat(lint): new rule: no parameters only used in recursion by @matanshavit in https://github.com/biomejs/biome/pull/7926
- fix(html): correctly handle BOM in HTML-ish languages by @alissonlauffer in https://github.com/biomejs/biome/pull/7934
- feat(yaml_parser): parse document end token by @l0ngvh in https://github.com/biomejs/biome/pull/7936
- feat(parse/tailwind): parse negative candidates, other misc cleanup/refactors by @dyc3 in https://github.com/biomejs/biome/pull/7937
- feat(lint): implement
no-unknown-propertyfrom eslint react by @dibashthapa in https://github.com/biomejs/biome/pull/7774 - chore: update Rust to v1.91.0 by @Gumichocopengin8 in https://github.com/biomejs/biome/pull/7947
- chore(deps): update github-actions by @renovate[bot] in https://github.com/biomejs/biome/pull/7952
- chore(deps): update dependency @types/node to v22.19.0 by @renovate[bot] in https://github.com/biomejs/biome/pull/7953
- chore(deps): update rust crate ignore to 0.4.25 by @renovate[bot] in https://github.com/biomejs/biome/pull/7954
- chore(deps): update dependency eslint to v9.39.0 - autoclosed by @renovate[bot] in https://github.com/biomejs/biome/pull/7955
- fix(console): escape backquotes in MDX context by @siketyan in https://github.com/biomejs/biome/pull/7956
- fix(lsp): do not return error if the formatter is disabled by @siketyan in https://github.com/biomejs/biome/pull/7959
- ci: release by @github-actions[bot] in https://github.com/biomejs/biome/pull/7916
New Contributors
- @matanshavit made their first contribution in https://github.com/biomejs/biome/pull/7869
- @alissonlauffer made their first contribution in https://github.com/biomejs/biome/pull/7934
- @dibashthapa made their first contribution in https://github.com/biomejs/biome/pull/7774
Full Changelog: https://github.com/biomejs/biome/compare/@biomejs/biome@2.3.2...@biomejs/biome@2.3.3