Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@biomejs/[email protected]
Patch Changes
#7415
d042f18
Thanks @qraqras! - Fixed #7212, now theuseOptionalChain
rule recognizes optional chaining usingtypeof
(e.g.,typeof foo !== 'undefined' && foo.bar
).#7419
576baf4
Thanks @Conaclos! - Fixed #7323.noUnusedPrivateClassMembers
no longer reports as unused TypeScriptprivate
members if the rule encounters a computed access onthis
.In the following example,
member
as previously reported as unused.It is no longer reported.
#7248
75b6a0d
Thanks @ematipico! - Added the new nursery lint rulenoJsxLiterals
, which disallows the use of string literals inside JSX.The rule catches these cases:
#7406
b906112
Thanks @mdevils! - Fixed an issue (💅lint/correctness/useHookAtTopLevel
: Reporting too many hooks #6393) where the useHookAtTopLevel rule reported excessive diagnostics for nested hook calls.The rule now reports only the offending top-level call site, not sub-hooks of composite hooks.
#7418
00e1a6b
Thanks @ematipico! - Fixed #7411. The Biome Language Server had a regression where opening an editor with a file already open wouldn't load the project settings correctly.#7142
53ff5ae
Thanks @Netail! - Added the new nursery rulenoDuplicateDependencies
, which verifies that no dependencies are duplicated between thebundledDependencies
,bundleDependencies
,dependencies
,devDependencies
,overrides
,optionalDependencies
, andpeerDependencies
sections.For example, the following snippets will trigger the rule:
#7441
733828c
Thanks @ematipico! - Fixed #3824. Now the option CLI--color
is correctly applied to logging too.@biomejs/[email protected]
@biomejs/[email protected]
@biomejs/[email protected]
@biomejs/[email protected]
@biomejs/[email protected]
@biomejs/[email protected]
@biomejs/[email protected]
@biomejs/[email protected]
@biomejs/[email protected]
@biomejs/[email protected]
@biomejs/[email protected]
@biomejs/[email protected]