dependabot-bot's Description of Work
Bumps @biomejs/biome from 2.5.13 to 2.5.14.
Release notes
Sourced from @biomejs/biome's releases.
Biome CLI v2.5.14
2.5.14
Patch Changes
#9022
0d49e24Thanks@dyc3! - Added the nursery rulenoReturnInFinally. This rule disallows return statements inPromise.prototype.finally()callbacks, including inside nested blocks and conditional branches. Returns in nested functions are ignored by the rule.// Invalid: return in finally callback
Promise.resolve(1).finally(() => { return 2 })// Valid: no return in finally callback
Promise.resolve(1).finally(() => { console.log(2) })
Returning a value from a Promise.prototype.finally() callback does not replace the original promise's fulfillment value, which can be confusing. Returned promises and thenables are awaited, and their rejection rejects the resulting promise.
#11754 71eaa0d Thanks @griff-rees! - Added the nursery rule noSvelteAtDebugTags, which disallows Svelte's {@debug} tag.
<!-- Invalid: leftover debugging tag -->
{@debug user}
The {@debug} tag is a debugging aid and should be removed once you no longer need it, as it should not remain in production code. The rule provides a safe fix that removes the tag.
#11725 5eb5f09 Thanks @m1handr! - Added the nursery rule useValidTestTitle, which enforces valid titles for unit test cases and suites.
#11735 9bd70c7 Thanks @ematipico! - Fixed #8471: source.fixAll.biome ignored formatter.formatWithErrors. It now applies safe fixes without formatting files that have parse errors when the option is disabled.
#11715 f05a3c3 Thanks @ematipico! - Fixed #7771: Grit plugins that use sequential no longer panic when Biome processes files.
#11766 c2542c6 Thanks @dyc3! - Fixed validation of readonly and accessor modifiers: combining them in either order now reports that they cannot be used together.
#11461 22e9966 Thanks @FoundDream! - Fixed #11423: Multiline template interpolations now preserve the indentation of their closing brace when the source indentation is not a multiple of tabWidth.
const value =
${
condition
? "yes"
: "no"
-}
+ }
;
#11766 c2542c6 Thanks @dyc3! - Fixed #11763: TypeScript class members using override accessor, such as override accessor value = 1, now parse correctly. The reversed order, accessor override, now reports that override must precede accessor.
<!-- raw HTML omitted -->
... (truncated)
Changelog
Sourced from @biomejs/biome's changelog.
2.5.14
Patch Changes
#9022
0d49e24Thanks@dyc3! - Added the nursery rulenoReturnInFinally. This rule disallows return statements inPromise.prototype.finally()callbacks, including inside nested blocks and conditional branches. Returns in nested functions are ignored by the rule.// Invalid: return in finally callback
Promise.resolve(1).finally(() => { return 2 })// Valid: no return in finally callback
Promise.resolve(1).finally(() => { console.log(2) })
Returning a value from a
Promise.prototype.finally()callback does not replace the original promise's fulfillment value, which can be confusing. Returned promises and thenables are awaited, and their rejection rejects the resulting promise.#11754
71eaa0dThanks@griff-rees! - Added the nursery rulenoSvelteAtDebugTags, which disallows Svelte's{@debug}tag.<!-- Invalid: leftover debugging tag -->
{@debug user}The
{@debug}tag is a debugging aid and should be removed once you no longer need it, as it should not remain in production code. The rule provides a safe fix that removes the tag.#11725
5eb5f09Thanks@m1handr! - Added the nursery ruleuseValidTestTitle, which enforces valid titles for unit test cases and suites.#11735
9bd70c7Thanks@ematipico! - Fixed #8471:source.fixAll.biomeignoredformatter.formatWithErrors. It now applies safe fixes without formatting files that have parse errors when the option is disabled.#11715
f05a3c3Thanks@ematipico! - Fixed #7771: Grit plugins that usesequentialno longer panic when Biome processes files.#11766
c2542c6Thanks@dyc3! - Fixed validation ofreadonlyandaccessormodifiers: combining them in either order now reports that they cannot be used together.#11461
22e9966Thanks@FoundDream! - Fixed #11423: Multiline template interpolations now preserve the indentation of their closing brace when the source indentation is not a multiple oftabWidth.const value =;
${
condition
? "yes"
: "no"
-}
+ }#11766
c2542c6Thanks@dyc3! - Fixed #11763: TypeScript class members usingoverride accessor, such asoverride accessor value = 1, now parse correctly. The reversed order,accessor override, now reports thatoverridemust precedeaccessor.#11790
17d0ff0Thanks@ematipico! - Fixed #10248:noUselessFragmentsnow allows fragments with props in Astro files, such as<Fragment slot="name">{text}</Fragment>inside template expressions.
<!-- raw HTML omitted -->
... (truncated)
Commits
-
af4365dci: release (#11711) -
7ee3a6cfix(useExhaustiveSwitchCases): add optionrequireExplicitCase(#11777) -
02ea438feat(json_analyze): implement noJsonUnsafeValues (#9758) -
64fd314feat(json_analyze): implement useConsistentObjectKeys (#9797) -
a9c4aa0feat(html): detect undeclared custom Vue directives (#11651) -
1fc17e3feat: expand useIncludes (#11739) -
71eaa0dfeat(lint/html/svelte): add noSvelteAtDebugTags (#11754) -
9bd70c7fix: various bug fixes (#11735) -
c7c4e2bfix(analyzer): various bugs (#11720) -
5eb5f09feat(biome_js_analyze): implement useValidTestTitle rule (#9176) (#11725) - 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 rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)