Repository navigation
chore(deps): update dependency @biomejs/biome to v2.6.10 - #81
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/biomejs-biome-2.x-lockfile
branch
from
October 24, 2026 17:35
afc02c8 to
0da628a
Compare
renovate
Bot
force-pushed
the
renovate/biomejs-biome-2.x-lockfile
branch
2 times, most recently
from
October 29, 2026 02:04
0da628a to
cca6577
Compare
renovate
Bot
force-pushed
the
renovate/biomejs-biome-2.x-lockfile
branch
from
November 16, 2026 00:01
cca6577 to
d6da727
Compare
renovate
Bot
force-pushed
the
renovate/biomejs-biome-2.x-lockfile
branch
from
November 24, 2026 20:41
d6da727 to
0b49964
Compare
renovate
Bot
force-pushed
the
renovate/biomejs-biome-2.x-lockfile
branch
from
December 3, 2026 13:45
0b49964 to
83c45ff
Compare
This branch has not been deployed
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
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.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
2.6.3→2.6.10Release Notes
biomejs/biome (@biomejs/biome)
v2.6.10Compare Source
Patch Changes
#13387
00e98fcThanks @dyc3! - Added the nursery rulenoAmd, which reports AMDdefine()andrequire()calls that load modules from a list, so they can be replaced withimportstatements.#13357
9407920Thanks @dyc3! - Added the nursery rulenoArrayReduce, which disallows thereduce()andreduceRight()array methods in favor of loops and methods such asmap()andfilter(). Calls whose function only returns a single arithmetic, comparison, or bitwise operation, such as(total, item) => total + item, are allowed.#13358
d82324eThanks @dyc3! - Added the nursery rulenoBreakInNestedLoop, which reportsbreakstatements without a label inside nested loops and insideswitchstatements in loops. Enable thecheckContinueoption to also reportcontinuestatements without a label.#13488
674687aThanks @dyc3! - Added the nursery rulenoCollectionBracketAccess. It reports square brackets used on aMap,Set,WeakMap, orWeakSet, which read or change a property of the object instead of one of its entries.#13477
de81ca9Thanks @dyc3! - Added the nursery rulenoConvexCollectInQuery, which reports Convex database queries that load every matching document with.collect(). Use.take()or.paginate()instead.#13323
fae973fThanks @dyc3! - Added the nursery rulenoConvexDuplicateIndexes, which reports Convex database indexes whose fields are the first fields of another index on the same table. The rule is part of theconvexdomain.#13481
4de1a09Thanks @dyc3! - Added the nursery rulenoConvexOldRegisteredFunctionSyntax, which reports Convex queries, mutations, and actions registered with a plain function instead of an object. The object syntax lets you declare anargsvalidator.#13325
e7dab31Thanks @dyc3! - Added the new nursery rulenoConvexProcessEnvto theconvexdomain. It reports uses ofprocess.envin theconvexfolder of a package, and recommends reading environment variables from the typedenvobject exported by_generated/serverinstead. Its unsafe fix replacesprocess.envwithenvand adds the import.#13324
6609054Thanks @dyc3! - Added the nursery rulenoConvexQueryFilter, which reports.filter()calls on Convex database queries. The database reads every document in the query before.filter()drops the ones that don't match, so.withIndex()or filtering the collected results in code is preferred. The rule belongs to theconvexdomain.#13476
cfec26aThanks @dyc3! - Added the nursery rulenoConvexTimeOrRandomInQueries, which reports Convex queries that read the current time or generate random values. Convex caches query results, so these values can be outdated or stay the same between calls.#13300
1001924Thanks @dyc3! - Added the nursery rulenoConvexTopOfHourCrons, which reports Convex cron jobs scheduled at the start of the hour, the busiest time for most apps.#13482
0466735Thanks @dyc3! - Added the nursery rulenoConvexWrongRuntimeImports, which reports files in a Convexconvexfolder that run in the Convex runtime but import a file with the"use node"directive.#13371
adae706Thanks @dyc3! - Added the nursery rulenoDuplicateExports. It reports a module or TypeScript namespace that exports the same name more than once, or has more than one default export. It also reports twoexport * fromstatements that export the same name from different declarations. The rule belongs to theprojectdomain.#13395
3f1f7ceThanks @dyc3! - Added the nursery rulenoDuplicateIfBranches, which reports branches of anifstatement that run the same code as the branch right before them.#13504
ae4791fThanks @dyc3! - Added the nursery rulenoMixedReturns, which reports functions where somereturnstatements return a value and others don't, including functions that can reach the end of their body after returning a value elsewhere.#13366
48da9c2Thanks @dyc3! - Added the nursery rulenoMutableExports. It reports exported variables declared withletorvar, which other modules see change whenever they are reassigned.#13505
72c3a7eThanks @dyc3! - Added the nursery rulenoNegatedComparison, which reports equality comparisons that are negated as a whole and suggests the opposite operator instead.#13282
5201ae5Thanks @dyc3! - Added the nursery rulenoOuterScopeInIsolatedFunctions, which reports uses of variables,this, andsuperfrom outside a function that runs apart from the code around it, such as a function passed tomakeSynchronous()or marked with an@isolatedcomment.#13474
100d4d7Thanks @dyc3! - Added the nursery rulenoTailwindLegacyImportantfor JavaScript and HTML. It reports Tailwind CSS classes that put the!important modifier at the start, as Tailwind CSS v3 did, and moves the!to the end of the class name.#13224
19fb503Thanks @dyc3! - Added the new nursery rulenoTanstackQueryUnstableDeps, which reports the object returned by a TanStack Query hook, such asuseQueryoruseMutation, when it is used directly as a dependency ofuseEffect,useMemo, oruseCallback. This object can be a new object on every render, so React treats the dependencies as changed on every render.#13371
adae706Thanks @dyc3! - Added the nursery rulenoUselessReExportAll. It reportsexport * froma module that has no named exports, which exports nothing. The rule belongs to theprojectdomain.#12560
1413bf8Thanks @dyc3! - Added the nursery rulenoVueComputedPropertyCall, which disallows calling a Vue computed property whose value is not a function. Calling such a value throws an error when the code runs.#13322
025c012Thanks @dyc3! - Added the nursery rulenoVueContentOutsideBlock, which reports text and code placed outside of the top-level blocks of a Vue component. Vue drops this content, so it never renders or runs.For example,
console.log(1);below is reported:#13369
7940a3fThanks @dyc3! - Added the nursery ruleuseConsistentDefaultExportStyle, which enforces whether default-exported functions and classes are declared inside theexport defaultstatement or declared separately and exported by name.#13248
b7a3678Thanks @dyc3! - Added the nursery ruleuseConsistentExistenceIndexCheck, which reports checks such asindex < 0,index >= 0, andindex > -1on the result ofindexOf(),lastIndexOf(),findIndex(), orfindLastIndex(), and suggests comparing with-1instead.#13305
4bcb0eeThanks @dyc3! - Added the nursery ruleuseConvexAccessControl, which reports exported Convex queries, mutations and actions whose handler doesn't call an access control function, such asrequireUser(ctx). The rule belongs to theconvexdomain.#13475
1cb1e56Thanks @dyc3! - Added the nursery ruleuseConvexArgsValidator, which requires Convex queries, mutations, and actions to define anargsvalidator, so that Convex checks the arguments of every call before the handler runs.#13473
88aa8a5Thanks @dyc3! - Added the nursery ruleuseConvexExplicitTableIds, which reports Convexdb.get(),db.patch(),db.replace(), anddb.delete()calls that don't pass the table name as the first argument.#13503
764aba8Thanks @dyc3! - Added the nursery ruleuseCustomErrorDefinition, which enforces a consistent way of defining custom error classes. It reports error classes whose name doesn't start with an uppercase letter and end withError, that don't set theirnameproperty to the class name, that assignthis.messageinstead of passing the message tosuper(), or that don't forward anoptionsparameter to a built-in error.#13365
6bdb1ffThanks @dyc3! - Added the nursery ruleuseElseIf. It reports anifstatement that follows anotherifstatement and compares the same variable or property against a different value, since only one of them can match. The rule offers an unsafe fix that addselsebefore the secondifstatement.#13351
73a0cb6Thanks @dyc3! - Added the nursery ruleuseNegativeIndex, which reports index arguments ofslice(),at(),subarray(),splice(), andtoSpliced()that subtract a number from.length, and suggests a negative index instead.#13306
74c72aeThanks @dyc3! - Added the nursery ruleuseSetMethods, which reports code that combines or comparesSets by copying them into arrays, and suggests the matchingSetmethod, such asunion(),intersection(),difference(),isSubsetOf(), orisDisjointFrom().#13326
c3bd8baThanks @dyc3! - Added the nursery ruleuseTanstackQueryQueryOptions, which reports TanStack Query options that setqueryKeyorqueryFnwhere the query is used, and query keys that are written by hand in query client methods. Creating the options once withqueryOptions()keeps the key and the function of a query together.#13431
c8e0488Thanks @ematipico! - Improved the performance of commands that process files, such asbiome check,biome lintandbiome formatbetween 14% and 18%.#13367
addf04aThanks @dyc3! - Fixed #13320:noUnnecessaryConditionsno longer reports loops whose condition is the literaltrue, such aswhile (true) {},do {} while (true), andfor (; true;) {}.#13608
c1ac8a0Thanks @ematipico! - Fixed #13574: the Tailwind CSS rules no longer make Biome scan the whole project. Whentailwind.stylesheetis set, Biome reads only that stylesheet and the files it imports. It now reports an error if the stylesheet is missing, outside the project folder, or force-ignored byfiles.includes.useTailwindSortedClasses,noTailwindRawColors,noTailwindRestrictedClasses, andnoTailwindConflictingClassesno longer belong to theprojectdomain.#13571
7ac32bdThanks @dyc3! - Fixed #13511: Biome no longer skips indexing a project located inside a directory that the scanner ignores by default. These are meant to be places where the scanner should not look for files, but if a project is explicitly located inside one, it should still be indexed.#13484
c12cd1cThanks @dyc3! - FixednoFloatingPromisesreporting promises that are handled through a method named by a string literal. The following code is no longer reported:#12903
16aaa88Thanks @yeliex! - Added the nursery ruleuseConsistentBooleanProps. When enabled, it requires<Foo bar={true} />by default. Setmodeto"implicit"to require the shorthand<Foo bar />.#13540
f1259d2Thanks @dyc3! - Fixed #13538: Tailwind classes with an arbitrary value that calls a function whose name starts with--, such asw-[--spacing(80)]ortext-[--alpha(red/50%)], are parsed correctly again.useTailwindSortedClassesno longer treats them as unknown classes or moves them to the front.#13420
c199c75Thanks @ematipico! - Fixed a bug where the Biome Scanner would index the same dependencies innode_modulesmore than once. This would result a slightly faster scanner.#13468
a98859cThanks @ematipico! - Improved the performance of formatting JavaScript and TypeScript code.#12681
6dbca4cThanks @NavpreetSSidhu! - Fixed #12625:noComponentHookFactoriesno longer reports a capitalised object property inside a function unless its function renders JSX or calls a hook.#13575
644c81aThanks @carlosrobert0! - Fixed #12991: the CSS parser no longer panics on a stray)in an@layerprelude, such as@layer)or@layer a b){}. It now reports a parse error and recovers.#12550
6b63f72Thanks @atharv1205! - Fixed the formatter output changing on a second run for logical chains. The formatter now flattens a parenthesized right operand with the same logical operator and more than two operands into the surrounding chain on the first pass. Previously, the operands of the removed group stayed together and the next format changed the output again.return ( aaaaaaaaaaaaaaaaaaaa && bbbbbbbbbbbbbbbbbbbbbbb && - cccccccccccccccccccc && dddddddddddddddddddddd && + cccccccccccccccccccc && + dddddddddddddddddddddd && eeeeeeeeeeeeeeeeeeeeeeeee );#13498
4755be1Thanks @dyc3! - Fixed #13396: the Markdown formatter no longer duplicates an HTML comment at the start of an HTML block on every format when the HTML formatter is enabled.#13497
8f3c808Thanks @dyc3! - Fixed #13397: the Markdown formatter no longer turns a paragraph into a heading when a lazy continuation line looks like a setext heading underline. The formatter adds the block quote prefix or list indentation to such a line, so it now escapes the line's first marker.#13499
e2fff80Thanks @dyc3! - Fixed #13466: the Markdown formatter no longer merges a whitespace-only line in a fenced code block inside a list item with the next line. The line is now printed as an empty line, and the next line keeps its indentation.1. Item: ```shell echo a - echo b + + echo b ```#13496
fb8cedeThanks @dyc3! - Fixed #13408: the Markdown parser now keeps the content of a fenced code block in a list item inside a block quote when a tab follows the>marker. Previously the code block ended after its opening fence, and the formatter moved the code out of the block.#13495
8a89af1Thanks @dyc3! - Fixed #13386: the Markdown parser no longer reports a false "Expected a list item" diagnostic when a list inside a block quote ends with a fenced code block or heading and a list item outside the quote follows a blank line.#13289
b6b42d7Thanks @srikar2130! - Fixed part of #13165: the CSS formatter no longer double-indents the arguments of a functional pseudo-class in a nested selector without a leading combinator, such as&:has(...)or.a:not(...).#13528
66386c5Thanks @dyc3! - Fixed #13525:noProcessGlobalno longer offers a fix for accesses through the global object, such asglobalThis.processorwindow["process"]. Adding an import doesn't change what these accesses refer to, sobiome lint --writeno longer loops on them.#13528
66386c5Thanks @dyc3! - Fixed #13527: the fix ofnoProcessGlobalnow adds theprocessimport at the top level of the module instead of inside a TypeScript namespace.#13491
cc402faThanks @2tsoftwareapp! - Fixed #13428, wherenoUntrustedLicensesreported valid SPDX license expressions with the+("or later") operator (such asApache-2.0+andMPL-2.0+) as untrusted.#13160
b56e180Thanks @dyc3! - Fixed #13108:noUnusedExpressionsno longer reportssatisfiesexpressions used as statements, such asshape satisfies never;for exhaustiveness checks.#13514
aef78f6Thanks @Yshuro! - Fixednode_semvercaret range expansion for^0.0.0and^0.0so that they match the expected upper bounds (<0.0.1and<0.1.0, respectively) when resolvingpackage.jsonversion ranges.#13405
771de3eThanks @dyc3! - Fixed #13392:useNullishCoalescingno longer reportsflag || otherwhenflagis a parameter whose default value removesundefinedfrom its type, such asflag: boolean | undefined = false.#13281
b6c1d06Thanks @GBra-4-669! - Fixed #13280: the suppression parser no longer panics on non-ASCII whitespace.#12945
18975d9Thanks @vibbix! - FixednoUnknownTypeSelectorreportingfromandtorules directly inside SCSS mixins and@includeblocks that Sass places inside@keyframes:#13520
f733558Thanks @dyc3! - Fixed #11942:useArrayLiteralsno longer offers a fix forArray(...args),Array(x, ...args), and other calls whose spread arguments may expand to a single argument. The rule still reports them, but rewritingArray(...args)to[...args]changes the result whenargsis a single number.#13522
41a4f06Thanks @dyc3! - Fixed #13331: the safe fix ofuseImportTypewith theseparatedTypestyle no longer turns a default import used as a value intoimport type. For example,import spec, { type A, B } from "./mod"now keepsspecas a value import.#13559
dc7e82aThanks @MaxWang007! - Fixed #13548: the unsafe fix ofuseLiteralKeysnow escapes"and'when it turns a computed key into a string literal.['a"b']and[`a"b`]are rewritten to"a\"b"instead of invalid syntax. A computed key that contains a raw line break is left unchanged.#13565
32ada57Thanks @diluuuu10! - Fixed #13546: Fixed a false positive inuseNamedCaptureGroupby correctly handling escaped parentheses in RegExp strings.#13560
735dddcThanks @diluuuu10! - Fixed #13547: Updated theuseUnifiedTypeSignaturesunsafe fix to wrap function types in parentheses when merging them into a union type, preventing invalid TypeScript syntax.#13485
f50b262Thanks @dyc3! - Improved type inference forPromise. Biome now knows every static member that the TypeScript standard library declares for it, and the types of theresolveandrejectcallbacks passed to anew Promise()executor. For example,noFloatingPromisesnow reports the unhandled Promise created byPromise.withResolvers():#13506
87ad81bThanks @dyc3! - Fixed #13380:useNumberNamespaceno longer offers a fix whenNumberis shadowed by a local binding, because the fix changed the runtime behavior of the code. The rule still reports the global.#13502
ee1f211Thanks @dyc3! - Fixed #11938:noUselessUndefinedInitializationno longer offers a fix forvardeclarations. Removing= undefinedfrom avardeclaration inside a loop or from a redeclaration changed the behavior of the program, becausevar x;doesn't reset the variable.#13501
b11b273Thanks @dyc3! - Fixed a false positive inuseTanstackQueryExhaustiveDependencies: the rule no longer reports the variable that holds the query key when the query function reads it. Previously, the fix added the variable to its own value.#13595
d15af62Thanks @dyc3! - Fixed #10716:biome migratenow migrates"recommended": trueto"preset": "recommended"regardless of the whitespace and comments around the value. Previously, configurations such as{ "recommended": true }were migrated to"preset": "none", which disabled the recommended rules.#12635
2936d85Thanks @NavpreetSSidhu! - Fixed #12626:usePlaywrightValidDescribeCallbackno longer reports calls to adescribefunction declared in the same file.#13484
c12cd1cThanks @dyc3! - FixednoFloatingPromisesandnoMisusedPromisesnot recognizing thePromiseLikethat the methods of aPromiseLikevalue return. For example,noFloatingPromisesnow reports the following code:#13618
505a73fThanks @avens19! - Fixed #13588: rules that scan the project, such asnoFloatingPromises, are faster in projects with many dependencies. The CLI no longer prepares to watch dependency folders when it doesn't watch the project.#12865
7166077Thanks @carlosrobert0! - Fixed #5172: the JUnit reporter now includes formatting diagnostics, sobiome checkandbiome formatlist the affected files. Test cases are now grouped into one<testsuite>per file.#13270
2d30ad9Thanks @dyc3! - Added the new nursery rulenoScssDeprecatedColorFunctions. It reports the deprecated Sass functions that read one channel of a color, such asred(),color.hue()andopacity(), and suggestscolor.channel()instead.#13218
840b293Thanks @dyc3! - Fixed #13088:useHeadingContentnow recognizesset:htmlandset:textas heading content inside Astro template expressions.#13567
6ea6489Thanks @dyc3! - Fixed #13563: Applying the unsafe fix ofnoConsoleno longer hangs when aconsolecall is used as a value, such as in a variable declaration, a function argument, or a ternary. The rule still reports these calls, but doesn't offer a fix for them.#13483
e3987d2Thanks @dyc3! - Fixed #13421: in Astro templates and in projects that depend onsolid-js, the rulesuseFocusableInteractive,noPositiveTabindex,noNoninteractiveTabindex,useAriaActivedescendantWithTabindex, andnoAriaHiddenOnFocusablenow recognize the lowercasetabindexattribute on JSX elements, and their diagnostics and fixes suggesttabindexinstead oftabIndex.The following code is no longer reported in a Solid project or inside an Astro template expression:
#13418
4de11d2Thanks @ematipico! - Fixed a bug where Biome couldn't properly parse Svelte{#each}blocks when some syntax was used to define the keys.[#13597](https://red
Configuration
📅 Schedule: (UTC)
🚦 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.