build(deps-dev): Bump @biomejs/biome from 2.5.15 to 2.6.5
Bumps @biomejs/biome from 2.5.15 to 2.6.5.
Release notes
Sourced from @biomejs/biome's releases.
Biome CLI v2.6.5
2.6.5
Patch Changes
#12755
bbc4887Thanks@dyc3! - Added the new nursery rulenoArrayForEach, which reportsforEach()calls that can be written asfor...ofloops. Values known not to be arrays, such as aMapor aSet, are ignored.array.forEach((element) => { bar(element); });#12777
ba692e4Thanks@dyc3! - Added the new nursery rulenoAwaitInPromiseMethods, which reportsawaitinside the array passed toPromise.all(),Promise.allSettled(),Promise.any(), orPromise.race(). Theawaitpauses the code before the method is called, so the promises no longer run at the same time.Promise.all([await promise, anotherPromise]);#12765
af84fb4Thanks@dyc3! - Added the new nursery rulenoChainedComparison, which reports comparisons chained likea < b < cora === b === c. JavaScript comparesawithbfirst, and then compares the resultingtrueorfalsewithc, so3 > 2 > 1isfalse.if (a < b < c) {}#12547
0a2073dThanks@dyc3! - Added the nursery rulenoDynamicDelete, which disallows usingdeletewith a property name that is computed at runtime. Fixed property names written as string or number literals are allowed.delete container[name];#12481
ed7adc2Thanks@dyc3! - Added the nursery rulenoLateEventControl, which reports calls topreventDefault(),stopPropagation(), andstopImmediatePropagation()that run after the browser has finished handling the event, where they have no effect.element.addEventListener("click", async (event) => { await save(); event.preventDefault(); });#12795
179666dThanks@dyc3! - Added the nursery rulenoMapSpread, which disallows spreading objects or arrays in the values returned bymap()andflatMap()callbacks. Each spread copies a whole object or array for every item, which is slow for large arrays. Its unsafe fix replaces an object that starts with a spread withObject.assign().const users = getUsers(); const rows = users.map((user) => ({ ...user, role: getRole(user) }));#12793
d9a99fdThanks@dyc3! - Added the nursery rulenoMismatchedMapKey, which reportsget()andset()calls that use a different key than thehas()check before them. Checking one key and then using another is usually a copy-paste mistake.
... (truncated)
Commits
fca5c35ci: release (#12918)d96de1dfeat(lint): add noSvelteBindValueOnCheckableInputs (#12241)8f28e3ffeat(lint): add useVueOneComponentPerFile (#12773)041c800feat(lint): add noVueUselessTemplateAttributes (#12789)d9a99fdfeat(lint): add noMismatchedMapKey (#12793)179666dfeat(lint): add noMapSpread (#12795)b0d3390feat(lint): add useSvelteStoreInitialValue (#12302)c23e4c3feat(lint): add noObjectLiteralComparison (#12790)a108773feat(lint): add noUselessAwait (#12772)793f07dfeat(lint): add noPlaywrightUnsafeReferences (#12450)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)