Bump @biomejs/biome from 1.9.4 to 2.3.8
Bumps @biomejs/biome from 1.9.4 to 2.3.8.
Release notes
Sourced from @biomejs/biome's releases.
Biome CLI v2.3.8
2.3.8
Patch Changes
#8188
4ca088cThanks@ematipico! - Fixed #7390, where Biome couldn't apply the correct configuration passed via--config-path.If you have multiple root configuration files, running any command with
--config-pathwill now apply the chosen configuration file.#8171
79adaeaThanks@dibashthapa! - Added the new rulenoLeakedRender. This rule helps prevent potential leaks when rendering components that use binary expressions or ternaries.For example, the following code triggers the rule because the component would render
0:const Component = () => { const count = 0; return <div>{count && <span>Count: {count}</span>}</div>; };#8116
b537918Thanks@Netail! - Added the nursery rulenoDuplicatedSpreadProps. Disallow JSX prop spreading the same identifier multiple times.Invalid:
<div {...props} something="else" {...props} />#8256
f1e4696Thanks@cormacrelf! - Fixed a bug where logs were discarded (the kind from--log-level=infoetc.). This is a regression introduced after an internal refactor that wasn't adequately tested.#8226
3f19b52Thanks@dyc3! - Fixed #8222: The HTML parser, with Vue directives enabled, can now parsev-slotshorthand syntax, e.g.\<template #foo>.#8007
182ecdcThanks@brandonmcconnell! - Added support for dollar-sign-prefixed filenames in theuseFilenamingConventionrule.Biome now allows filenames starting with the dollar-sign (e.g.
$postId.tsx) by default to support naming conventions used by frameworks such as TanStack Start for file-based-routing.#8218
91484d1Thanks@hirokiokada77! - Added thenoMultiStrrule, which disallows creating multiline strings by escaping newlines.Invalid:
const foo = "Line 1\n\ Line 2";Valid:
... (truncated)
Changelog
Sourced from @biomejs/biome's changelog.
2.3.8
Patch Changes
#8188
4ca088cThanks@ematipico! - Fixed #7390, where Biome couldn't apply the correct configuration passed via--config-path.If you have multiple root configuration files, running any command with
--config-pathwill now apply the chosen configuration file.#8171
79adaeaThanks@dibashthapa! - Added the new rulenoLeakedRender. This rule helps prevent potential leaks when rendering components that use binary expressions or ternaries.For example, the following code triggers the rule because the component would render
0:const Component = () => { const count = 0; return <div>{count && <span>Count: {count}</span>}</div>; };#8116
b537918Thanks@Netail! - Added the nursery rulenoDuplicatedSpreadProps. Disallow JSX prop spreading the same identifier multiple times.Invalid:
<div {...props} something="else" {...props} />#8256
f1e4696Thanks@cormacrelf! - Fixed a bug where logs were discarded (the kind from--log-level=infoetc.). This is a regression introduced after an internal refactor that wasn't adequately tested.#8226
3f19b52Thanks@dyc3! - Fixed #8222: The HTML parser, with Vue directives enabled, can now parsev-slotshorthand syntax, e.g.\<template #foo>.#8007
182ecdcThanks@brandonmcconnell! - Added support for dollar-sign-prefixed filenames in theuseFilenamingConventionrule.Biome now allows filenames starting with the dollar-sign (e.g.
$postId.tsx) by default to support naming conventions used by frameworks such as TanStack Start for file-based-routing.#8218
91484d1Thanks@hirokiokada77! - Added thenoMultiStrrule, which disallows creating multiline strings by escaping newlines.Invalid:
const foo = "Line 1\n\ Line 2";Valid:
const foo = "Line 1\nLine 2"; const bar = `Line 1
... (truncated)
Commits
-
0a6b6fbchore: restore version and yaml how they were -
5d15cd5chore: revert version -
59fa146ci: release (#8263) -
f7e836ffeat(biome_js_analyze): implementnoProtorule (#8276) -
b537918feat(js_biome_analyze): implement noDuplicatedSpreadProps (#8116) -
91484d1feat(biome_js_analyze): implementnoMultiStrrule (#8218) -
68c052efeat(biome_js_analyze): implementnoEqualsToNullrule (#8214) -
79adaeafeat(lint): added new ruleno-leaked-renderfrom eslint-react (#8171) -
cd2edd7feat(js_analyze): implement noTernary (#8201) -
8e97b89ci: release (#8161) - Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for @biomejs/biome since your current version.
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
$dependabot recreatewill recreate this MR rewriting all the manual changes and resolving conflicts