Repository navigation
chore(deps): @biomejs/biome ^ 2.6.7 - #9
Open
floatpanebot wants to merge 1 commit into
Open
floatpanebot wants to merge 1 commit into
floatpanebot wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
floatpanebot
force-pushed
the
renovate/biomejs-biome-2.x-lockfile
branch
from
June 23, 2026 09:54
01733ef to
1d5dde3
Compare
floatpanebot
force-pushed
the
renovate/biomejs-biome-2.x-lockfile
branch
from
July 1, 2026 12:44
1d5dde3 to
da48ecc
Compare
floatpanebot
force-pushed
the
renovate/biomejs-biome-2.x-lockfile
branch
from
July 8, 2026 10:25
da48ecc to
364df3f
Compare
floatpanebot
force-pushed
the
renovate/biomejs-biome-2.x-lockfile
branch
from
July 15, 2026 06:21
364df3f to
ef15766
Compare
floatpanebot
force-pushed
the
renovate/biomejs-biome-2.x-lockfile
branch
from
July 21, 2026 10:31
ef15766 to
75ef465
Compare
floatpanebot
force-pushed
the
renovate/biomejs-biome-2.x-lockfile
branch
from
July 28, 2026 11:25
75ef465 to
e796b47
Compare
floatpanebot
force-pushed
the
renovate/biomejs-biome-2.x-lockfile
branch
from
August 4, 2026 14:28
e796b47 to
df446a7
Compare
floatpanebot
force-pushed
the
renovate/biomejs-biome-2.x-lockfile
branch
from
August 11, 2026 09:04
df446a7 to
0b161f9
Compare
floatpanebot
force-pushed
the
renovate/biomejs-biome-2.x-lockfile
branch
from
August 17, 2026 23:28
0b161f9 to
39f5708
Compare
floatpanebot
force-pushed
the
renovate/biomejs-biome-2.x-lockfile
branch
from
September 16, 2026 11:13
cfffb5d to
3141bc7
Compare
floatpanebot
force-pushed
the
renovate/biomejs-biome-2.x-lockfile
branch
from
September 30, 2026 18:59
3141bc7 to
9df87c7
Compare
floatpanebot
force-pushed
the
renovate/biomejs-biome-2.x-lockfile
branch
from
October 21, 2026 09:55
9df87c7 to
852a853
Compare
floatpanebot
force-pushed
the
renovate/biomejs-biome-2.x-lockfile
branch
from
October 21, 2026 14:59
852a853 to
06ea9cb
Compare
floatpanebot
force-pushed
the
renovate/biomejs-biome-2.x-lockfile
branch
from
October 24, 2026 14:23
06ea9cb to
98134a9
Compare
floatpanebot
force-pushed
the
renovate/biomejs-biome-2.x-lockfile
branch
from
October 29, 2026 05:10
98134a9 to
0be782c
Compare
floatpanebot
force-pushed
the
renovate/biomejs-biome-2.x-lockfile
branch
from
November 4, 2026 14:05
0be782c to
057e369
Compare
floatpanebot
force-pushed
the
renovate/biomejs-biome-2.x-lockfile
branch
from
November 6, 2026 14:53
057e369 to
ca6ee71
Compare
floatpanebot
force-pushed
the
renovate/biomejs-biome-2.x-lockfile
branch
from
November 12, 2026 02:47
ca6ee71 to
7d1cf65
Compare
This branch was successfully 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.
What?
This PR contains the following updates:
2.4.16→2.6.7Release Notes
biomejs/biome (@biomejs/biome)
v2.6.7Compare Source
Patch Changes
#12906
b3375d2Thanks @dyc3! - Added the nursery rulenoAsyncPromiseFinally, which reports async functions passed to a promise's.finally()method. If such a function fails, its error replaces the original result or error of the promise.#12894
e24da6fThanks @dyc3! - Added the nursery rulenoDuplicateTypeConstituents, which reports types listed more than once in a union or intersection type, andundefinedin the type of an optional parameter.#12899
6c15027Thanks @dyc3! - Added the nursery rulenoExcessiveSelectorComplexity, which limits how many IDs, type selectors, attribute selectors, pseudo-classes, universal selectors, compound selectors, and combinators a CSS selector can contain. It can also disallow chosen combinators, pseudo-classes, pseudo-elements, attributes, and attribute operators. The rule does nothing until an option is set.For example, with
"maxIds": 1, the following selector is reported:#12897
0b8f429Thanks @dyc3! - Added the new nursery rulenoInvalidFetchOptions, which reports abodyin the options offetch()andnew Request()when the method isGETorHEAD. These calls throw aTypeErrorat runtime. When nomethodis given, the request usesGET.#12926
9b6b9f4Thanks @dyc3! - Added the nursery rulenoNewArray, which reportsnew Array()calls with a single argument. Such a call creates an empty array of the given length when the argument is a number, and an array that holds the argument otherwise.#12895
739440fThanks @dyc3! - Added the new nursery rulenoRedundantTypeConstituents, which reports members of union and intersection types that have no effect, such as a literal type next to its primitive type, orneverin a union.#12810
71ab61bThanks @dyc3! - Added the nursery rulenoSvelteAsyncStore, which disallows passing async functions to thewritable(),readable(), andderived()stores fromsvelte/store.#12917
37d9f41Thanks @dyc3! - Added the new nursery rulenoUnresolvedDefaultImport, which reports default imports from modules that have no default export. The rule is part of theprojectdomain.#12892
f16842eThanks @dyc3! - Added the nursery rulenoUselessFallbackInSpread, which reports empty object fallbacks when spreading a value into an object. Spreadingnull,undefined, or another falsy value into an object adds no properties, so the fallback has no effect.#12785
c198be2Thanks @dyc3! - Added the new nursery rulenoUselessParameterPropertyAssignment, which reports constructor assignments such asthis.name = namewhennameis a parameter property. TypeScript already sets the property to the parameter's value, so the assignment does nothing.#12900
a4d1b0fThanks @dyc3! - Added the nursery rulenoUselessSpread, which reports spread syntax that has no effect. For example,[first, ...[second]]can be written as[first, second], andnew Set([...items])can be written asnew Set(items).#12902
d7d755bThanks @dyc3! - Added the nursery rulenoVueExposeAfterAwait, which reportsexpose()anddefineExpose()calls that come after anawaitin a Vue component's setup code. These calls run too late, so a parent component might not receive the exposed properties.#12596
d33e56eThanks @dyc3! - Added the nursery ruleuseAtomicUpdates, which reports assignments in async functions and generators that can be based on an outdated value because the function paused at anawaitoryieldafter reading it.#12901
48e3572Thanks @dyc3! - Added the new nursery ruleuseConsistentBooleanName. It requires variables, parameters, and functions that hold or return a boolean to start with a prefix such asisorhas, and reports names with those prefixes that don't hold or return a boolean.#12905
5b00387Thanks @dyc3! - Added the nursery ruleuseConsistentFontWeightNotation, which enforces writing font weights either as numbers or as the keywordsnormalandboldwhere possible. It checks thefont-weightandfontproperties, and its safe fix converts betweennormal/boldand400/700.#12922
8d33c85Thanks @dyc3! - Added the nursery ruleuseConsistentTupleLabels, which reports tuple type elements without a label when other elements of the same tuple have one.#12925
7252cbdThanks @dyc3! - Added the new nursery ruleuseGlobalRegexInMatchAll, which reports calls tomatchAll()with a regular expression that doesn't have thegflag. These calls throw aTypeErrorat runtime.#12891
e781bc3Thanks @dyc3! - Added the nursery ruleuseGlobalRegexInReplaceAll, which reports regular expressions without thegflag passed toreplaceAll(). These calls throw aTypeErrorinstead of replacing text.#12896
a968e1aThanks @dyc3! - Added the new nursery ruleuseValidCharacterComparison, which reports comparisons between a single character and a string that has more than one character. Such comparisons are alwaysfalse, or alwaystruewith!==and!=.#13085
7a795d0Thanks @ematipico! - Fixed withastro/compiler-rs#221 so Astro template expressions containing comment-only JSX expression children, such as<span>{<!-- x -->}</span>, parse without diagnostics.#12621
79ce388Thanks @latin-1! - Fixed #12413 and #12414:useSortedPropertiesnow sorts consecutive groups of properties independently, preserving the positions of nested rules, at-rules, and SCSS variable declarations.#13065
bd9faaeThanks @ematipico! - Fixed #5848: runninguseSortedKeysoruseSortedSelectionSetas an editor source action no longer corrupts nested objects or selection sets.#13056
98f4d53Thanks @ematipico! - Fixed #10607:noUndeclaredDependenciesno longer reports imports resolved through TypeScript'scompilerOptions.pathsmappings.#13033
7638393Thanks @GBra-4-669! - Fixed #12980: the CSS parser no longer panics on acomposesdeclaration whose value contains a non-identifier token, such ascomposes: 1px;. It reports a diagnostic instead.#12917
37d9f41Thanks @dyc3! - FixednoUnresolvedImports: it now reports default imports from modules that only forward exports withexport * from "...".export *never re-exports a default export, soimport foo from "./barrel.js"fails when./barrel.jscontains onlyexport * from "./foo.js".#12596
d33e56eThanks @dyc3! - FixednoUnreachableSuperignoring the default values of constructor parameters. Usingthisin a default value is now reported, because it runs beforesuper(), and callingsuper()in a default value is now recognized.#12596
d33e56eThanks @dyc3! - FixednoUselessAssignmentignoring variables that are used in the iterated value of afor...oforfor...inloop, in the default values of a destructuring declaration or of parameters, or in the body of an arrow function written as a single expression. These variables are now checked too.#12805
2468384Thanks @vibbix! - Fixed #12332:noUnknownUnitno longer reports hex colors that start with a digit in SCSS custom properties or in unquoted legacy IEfiltervalues. The rule now accepts--accent: #​4566a8;instead of reporting the unknown unita8.#12549
7fdb28fThanks @pkallos! - Fixed #10464:useNullishCoalescingno longer reports a ternary orifstatement that checks onlynullor onlyundefinedwhen the type can also be the other, because??would change its behavior.#12952
d1896a0Thanks @arendjr! - Addedgrit()queries to JavaScript plugins. A rule can now use a GritQL pattern to select the nodes passed torun()instead of listing syntax kinds withast().For example:
Usage of Grit patterns can be particularly useful when it would take several checks to verify the shape of a snippet that involves multiple AST nodes.
Grit sequence patterns call
run()for each matched node. Matching on leaf tokens is also supported for patterns, while patterns containing rewrites are rejected. Plugins using GritQL patterns should report diagnostics fromrun()as usual.Plugins using Grit queries can still request the semantic model as well:
#13022
81d0187Thanks @arendjr! - Fixed an issue where GritQL patterns wouldn't match snippets if they contain a trailing list separator.For example, the pattern
`a, b`wouldn't match the arguments infunction(a, b,), whereas now they do.#12999
ace98cfThanks @deepsingh132! - Fixed #12953: the Markdown formatter no longer removes the blank line between a blockquote that ends a list item and the block that follows it, matching Prettier. Removing that line could also move a following paragraph into the blockquote. The same applies to a list item that ends with a hard line break.- a > b + #### Heading#13067
45c8c4dThanks @ematipico! - Added the nursery rulenoDisabledAttribute, which warns when buttons and other form controls use the nativedisabledattribute. A disabled control can't be reached with the Tab key, so the rule suggestsaria-disabledorreadonlyinstead.#12923
0668c8fThanks @dyc3! - Added the new nursery rulenoScssNullComparison. It reports comparisons tonullin Sass@ifand@else ifconditions, becausenullalready counts as false in a condition.#12955
e1ef913Thanks @ematipico! - Fixed an issue where Biome could silently skip configured plugins. Biome now reports an error when those plugins are unavailable during analysis.#12997
419aa5dThanks @Riccardo-bit-cpu! - Fixed #12475:noSwitchDeclarationsno longer reportsvardeclarations insideswitchclauses, matching ESLint'sno-case-declarations.#12867
6a25d72Thanks @dyc3! - Added the nursery rulenoUselessQualifier, which reports namespace and enum names that are repeated before a member inside that same namespace or enum. Biome provides a fix that removes the repeated name.#12050
60f4695Thanks @dor-sr! - Fixed #11933:useUnicodeRegexno longer offers to add theuflag to patterns that become invalid or change meaning in Unicode mode, such as/{/,/\-/or/[\d-z]/. The rule still reports them.#13035
478e056Thanks @dyc3! - Fixed #13026: the Markdown formatter no longer indents the rows of a table inside a blockquote when the table follows a paragraph of two or more lines. Previously, every run of the formatter indented the rows further until they were joined onto the header line.#13066
f6cf28eThanks @arendjr! - Removed thesemantic()query function from the JavaScript plugin API. Pass{ semantic: true }toast()instead to provide the semantic model to a rule.Becomes:
This behaviour matches the
grit()query function, which also accepts the{ semantic: true }option.#12951
014b976Thanks @ematipico! - Fixed #10782:noUndeclaredClassesno longer appears to hang on projects with long component import chains.#13073
827e610Thanks @vibbix! - Fixed #13072: a comment before a SCSS map entry whose value is a parenthesized group no longer indents that group one level too deep. This matches Prettier 3.10 behavior now.$map: ( /* comment */ key: ( - a: 1, - b: 2, - ), + a: 1, + b: 2, + ), );#12928
ae0e186Thanks @dyc3! - ImprovednoUselessStringConcat. The rule now reports literals joined after another value, such asfoo + "a" + "b", and fixes template literals with placeholders, so`Hello, ${name}` + "!"becomes`Hello, ${name}!`.The rule no longer reports strings that would join into text that looks like a placeholder, such as
"$" + "{name}", or into a directive such as"use strict". It also no longer reportsobj.foo * "a" + "b", which its fix used to change toobj.foo * "ab".The fix no longer changes the value of the string in two cases. It used to change
1 + 2 + "b" + "c"to"12bc"instead of1 + 2 + "bc". It used to change"\1" + "2"to"\12", which is a different escape sequence.The fix no longer joins literals that are on different lines when the concatenation ends with two literals on the same line. It also no longer puts a line break from a template literal into a string literal, which made the code invalid.
#13048
24734a8Thanks @ematipico! - Fixed #13028: Biome now keeps a paragraph in its outer block quote when a quote-only blank line closes a nested block quote.#12967
bd0988eThanks @siketyan! - Fixed #12827:noDuplicateProperties,noDuplicateCustomProperties, andnoMissingVarFunctionnow check declarations at the top level of embedded CSS templates, such asstyled.div`...`.#13048
24734a8Thanks @ematipico! - Fixed #13029: the Markdown formatter now normalizes spaces inside inline and reference link text without removing whitespace-only text.#13021
05a1409Thanks @dyc3! - Fixed #12993: Svelte{@​const}tags with TypeScript type annotations, such as{@​const doubled: number = item * 2}, now parse and format in components with<script lang="ts">.#12968
ec0142bThanks @siketyan! - Fixed #12826: Biome now detects CSS in styled-components templates that use.attrs(), such asstyled.button.attrs({ type: "button" })`...`andstyled(Component).attrs(() => ({}))`...`, so they are formatted and linted likestyled.button`...`.#13048
24734a8Thanks @ematipico! - Fixed #13027: the Markdown formatter now preserves spaces around text after a code span that crosses block quote lines.#13055
78c744aThanks @ematipico! - Fixed #13053: Biome now reports missing CLI paths as file-system errors without theINTERNALtag or advice that the path was ignored by configuration. File-system diagnostics now use specificfs/*categories, with underlying I/O errors categorized asfs/io.#12927
c6feec1Thanks @dyc3! - Added the nursery ruleuseCatchErrorName, which requires a specific name for caught errors intry...catchstatements and in the error handlers ofpromise.catch()andpromise.then(). The name defaults toerrorand can be changed with thenameoption.#12788
7f971edThanks @dyc3! - ExtendeduseWhileto reportfor (;;)loops and to fix them towhile (true).#12967
bd0988eThanks @siketyan! - FixednoMissingVarFunctionso it also checks declarations inside at-rules such as@pageand@font-face. For example,@page { margin: --page-margin; }is now reported when--page-marginis declared in:root.#13057
d9267a5Thanks @ematipico! - Fixed #10896 so Svelte<script generics>attributes containing object type constraints parse and format as TypeScript type parameters.#13048
24734a8Thanks @ematipico! - Fixed #13038: Biome now aligns wrapped task-list paragraphs with the text following the checkbox.v2.6.6Compare Source
Patch Changes
#12887
da0422eThanks @dyc3! - Added the new nursery rulenoArrayMethodsOnArguments. It reports calls to array methods on theargumentsobject, which isn't an array, so these calls throw aTypeErrorwhen the code runs.#12877
cd9e10fThanks @dyc3! - Added the nursery rulenoConstantComparisons, which reports&&and||conditions that can never be true, are always true, or contain a check with no effect.#12876
a7c9586Thanks @dyc3! - Added the nursery rulenoErasingOperation, which disallows operations with0that always result in zero: multiplying by0, a bitwise AND with0, and dividing0by a number. The other value in these operations has no effect on the result, which usually means the code has a mistake.#12841
e954f55Thanks @dyc3! - Added the nursery rulenoNegatedArrayPredicate, which reports negated calls toArray#some()andArray#every()and suggests moving the negation into the callback function.#12888
15039f7Thanks @dyc3! - Added the new nursery rulenoNumberArgumentOutOfRange, which reports number literal arguments oftoString(),toFixed(),toExponential()andtoPrecision()that are outside the range the method accepts. These calls throw aRangeErrorat runtime.#12889
1cd7520Thanks @dyc3! - Added the nursery rulenoSharedBranchCode, which reports code that is repeated at the start or end of every branch of anifstatement. That code runs no matter which branch is taken, so it can be moved before or after theifstatement.#12842
d47fcfdThanks @dyc3! - Added the new nursery rulenoSubtractionComparison, which reports subtracting two values only to compare the difference with0, and suggests comparing the values directly.#12866
7c1cd5fThanks @dyc3! - Added the nursery rulenoSvelteIgnoredUnsubscribe, which reports calls to a store'ssubscribe()method when the returned function is ignored. Without that function, the subscription can never be stopped, which causes a memory leak.#12890
6b73fcfThanks @dyc3! - Added the new nursery rulenoUninvokedArrayCallback, which reports array methods such asmap()andforEach()called with a callback on an array that only has empty slots. The callback never runs in this case.#12886
3bb18d8Thanks @dyc3! - Added the nursery ruleuseNextScriptForGoogleAnalytics, which reports<script>elements that load Google Analytics or Google Tag Manager. Use theGoogleAnalyticsandGoogleTagManagercomponents from@next/third-parties/googleinstead, which load these scripts after the page becomes interactive.The rule belongs to the
nextdomain.#12309
0538e30Thanks @dyc3! - Added the new nursery ruleusePackageJsonCpu, which reportspackage.jsonfiles that have nocpufield. Thecpufield lists the processor types that the package supports.The following
package.jsonfile satisfies the rule:{ "name": "my-package", "version": "1.0.0", "cpu": ["x64", "arm64"] }#12310
191111dThanks @dyc3! - Added the nursery ruleusePackageJsonEngines, which reportspackage.jsonfiles that have noenginesfield.A
package.jsonpasses the rule once it declares the field:{ "name": "my-package", "engines": { "node": ">=20" } }#12986
cc929afThanks @dyc3! - Fixed #12954, where configuring rules in groups with more than 256 rules could enable or disable the wrong rule.#12931
fe9248eThanks @dyc3! - Improved the performance of linting. Each lint pass now spends less time stepping over syntax nodes that no enabled rule looks at.#12969
22d27e8Thanks @vibbix! - Improved the performance of CSS linting. Rules that compare selectors, such asnoDescendingSpecificityandnoDuplicateSelectors, now make fewer memory allocations.#12973
5a06df5Thanks @vibbix! - FixeduseGenericFontNamesreportingfont-familyinside@font-palette-values. There,font-familynames the font families the palette applies to, so it doesn't take a generic family.#12930
ce71284Thanks @dyc3! - Fixed #12073:useExhaustiveSwitchCasesnow reports non-exhaustive switches over values read fromfor...ofloops overArray.prototype.entries(),Map, andSet, and over properties of array elements indexed by anumbervariable.noMisusedPromisesnow also reports Promise-returning callbacks passed to array methods such asfindandevery.#12983
2987b54Thanks @ashokram-si! - Fixed #12957: Biome now correctly parses SCSS negative interpolation list items as separate values instead of an invalid subtraction operator.v2.6.5Compare Source
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.#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.#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.#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.#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.#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().#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.#12342
1db7c0dThanks @vibbix! - Added the nursery rulenoMissingScssInterpolation, which disallows Sass variables and function calls in custom property values without#{}interpolation. Sass copies these values into the CSS unchanged, so the browser receives$gapormath.div(8px, 2)instead of their results. Its unsafe fix wraps variables in#{}.#12792
de86b37Thanks @dyc3! - Added the nursery rulenoMissingThrow, which reports errors that are created withnewbut never thrown. Its unsafe fix adds the missingthrowkeyword.#12790
c23e4c3Thanks @dyc3! - Added the new nursery rulenoObjectLiteralComparison, which reports comparisons with an empty object{}or an empty array[]. These comparisons never check whether a value is empty, because objects and arrays are compared by reference.#12450
793f07dThanks @dyc3! - Added the new nursery rulenoPlaywrightUnsafeReferences, which reports functions passed topage.evaluate()orpage.addInitScript()that use variables declared outside of them. Playwright runs these functions in the browser page, where those variables don't exist.#12388
a0160a4Thanks @vibbix! - Added the nursery rulenoPseudoElementInFunctionalPseudoClass, which disallows pseudo-elements inside:is(),:where(),:not()and:has(). Browsers drop these selectors, so the styles never apply to the pseudo-element.#12779
bc1befbThanks @dyc3! - Added the new nursery rulenoSinglePromiseInPromiseMethods, which reports an array with a single element passed toPromise.all(),Promise.any(), orPromise.race(). The rule offers a fix that awaits the value directly or usesPromise.resolve().#12241
d96de1dThanks @dyc3! - Added the nursery rulenoSvelteBindValueOnCheckableInputs, which reportsbind:valueon checkbox and radio inputs in Svelte files. Users change whether these inputs are checked, not theirvalue, sobind:valuedoes not track their choice.#12764
e166d08Thanks @dyc3! - Added the new nursery rulenoSyncMethods, which reports calls to functions whose names end withSync, such asfs.readFileSync(). These calls block the program until they finish. TheallowAtRootLeveloption allows them outside of functions, and theignoreoption allows specific function names.#12515
c0a4174Thanks @dyc3! - Added the nursery rulenoTanstackQueryVoidQueryFn, which disallows TanStack Query functions that don't return any data. TanStack Query doesn't acceptundefinedas the data of a query, so the query fails with an error.The rule belongs to the
tanstackQueryandtypesdomains.#12482
1e6e407Thanks @dyc3! - Added the nursery rulenoUnnecessaryStringTrim, which reportstrim()calls beforestartsWith()orendsWith()when only one side of the string matters. UsetrimStart()ortrimEnd()instead.#12772
a108773Thanks @dyc3! - Added the nursery rulenoUselessAwait, which reportsawaiton values that are never promises, such as literals, arrays, and the results of comparisons.#12783
d0931b0Thanks @dyc3! - Added the new nursery rulenoUselessLengthCheck, which reports array length checks that don't change the resConfiguration
📅 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 has been generated by Mend Renovate.