-
Notifications
You must be signed in to change notification settings - Fork 10
chore(deps): update dependency @biomejs/biome to v2.2.4 #1920
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
progfay
progfay
approved these changes
Sep 10, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 contains the following updates:
2.2.3
->2.2.4
Release Notes
biomejs/biome (@biomejs/biome)
v2.2.4
Compare Source
Patch Changes
#7453
aa8cea3
Thanks @arendjr! - Fixed #7242: Aliases specified inpackage.json
'simports
section now support having multiple targets as part of an array.#7454
ac17183
Thanks @arendjr! - Greatly improved performance ofnoImportCycles
by eliminating allocations.In one repository, the total runtime of Biome with only
noImportCycles
enabled went from ~23s down to ~4s.#7447
7139aad
Thanks @rriski! - Fixes #7446. The GritQL$...
spread metavariable now correctly matches members in object literals, aligning its behavior with arrays and function calls.#6710
98cf9af
Thanks @arendjr! - Fixed #4723: Type inference now recognises index signatures and their accesses when they are being indexed as a string.Example
351bccd
Thanks @ematipico! - Fixed #7212, now theuseOptionalChain
rule recognizes optional chaining usingtypeof
(e.g.,typeof foo !== 'undefined' && foo.bar
).351bccd
Thanks @ematipico! - 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.
351bccd
Thanks @ematipico! - Added the new nursery lint rulenoJsxLiterals
, which disallows the use of string literals inside JSX.The rule catches these cases:
351bccd
Thanks @ematipico! - Fixed an issue (#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.
#7461
ea585a9
Thanks @arendjr! - Improved performance ofnoPrivateImports
by eliminating allocations.In one repository, the total runtime of Biome with only
noPrivateImports
enabled went from ~3.2s down to ~1.4s.351bccd
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.351bccd
Thanks @ematipico! - 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:
351bccd
Thanks @ematipico! - Fixed #3824. Now the option CLI--color
is correctly applied to logging too.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.