Skip to content

Commit c7b8a26

Browse files
chore(deps): update dependency @biomejs/biome to v2.3.10 (#7621)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [@biomejs/biome](https://biomejs.dev) ([source](https://redirect.github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome)) | [`2.3.8` -> `2.3.10`](https://renovatebot.com/diffs/npm/@biomejs%2fbiome/2.3.8/2.3.10) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@biomejs%2fbiome/2.3.10?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@biomejs%2fbiome/2.3.8/2.3.10?slim=true) | --- ### Release Notes <details> <summary>biomejs/biome (@&#8203;biomejs/biome)</summary> ### [`v2.3.10`](https://redirect.github.com/biomejs/biome/blob/HEAD/packages/@&#8203;biomejs/biome/CHANGELOG.md#2310) [Compare Source](https://redirect.github.com/biomejs/biome/compare/@biomejs/biome@2.3.9...@biomejs/biome@2.3.10) ##### Patch Changes - [#&#8203;8417](https://redirect.github.com/biomejs/biome/pull/8417) [`c3a2557`](https://redirect.github.com/biomejs/biome/commit/c3a255709cdbdb8e2281eac5bb65848eafeaa366) Thanks [@&#8203;taga3s](https://redirect.github.com/taga3s)! - Fixed [#&#8203;7809](https://redirect.github.com/biomejs/biome/issues/7809): [`noRedeclare`](https://biomejs.dev/linter/rules/no-redeclare/) no longer reports redeclarations for `infer` type in conditional types. - [#&#8203;8477](https://redirect.github.com/biomejs/biome/pull/8477) [`90e8684`](https://redirect.github.com/biomejs/biome/commit/90e86848a9dd63b63b6a91766620657ae04b5c2d) Thanks [@&#8203;dyc3](https://redirect.github.com/dyc3)! - Fixed [#&#8203;8475](https://redirect.github.com/biomejs/biome/issues/8475): fixed a regression in how `noExtraNonNullAssertion` flags extra non-null assertions - [#&#8203;8479](https://redirect.github.com/biomejs/biome/pull/8479) [`250b519`](https://redirect.github.com/biomejs/biome/commit/250b51974f833f17b0e0e4f5d71bf93461cf3324) Thanks [@&#8203;dyc3](https://redirect.github.com/dyc3)! - Fixed [#&#8203;8473](https://redirect.github.com/biomejs/biome/issues/8473): The semantic model now indexes typescript constructor method definitions, and no longer panics if you use one (a regression in 2.3.9). - [#&#8203;8448](https://redirect.github.com/biomejs/biome/pull/8448) [`2af85c1`](https://redirect.github.com/biomejs/biome/commit/2af85c16ae3cfcd460645d83fe5789c75031967a) Thanks [@&#8203;mdevils](https://redirect.github.com/mdevils)! - Improved handling of `defineProps()` macro in Vue components. The [`noVueReservedKeys`](https://biomejs.dev/linter/rules/no-vue-reserved-keys/) rule now avoids false positives in non-setup scripts. - [#&#8203;8420](https://redirect.github.com/biomejs/biome/pull/8420) [`42033b0`](https://redirect.github.com/biomejs/biome/commit/42033b041f473badfcc6d1a0f52324b5388c570b) Thanks [@&#8203;vsn4ik](https://redirect.github.com/vsn4ik)! - Fixed the nursery rule [`noLeakedRender`](https://biomejs.dev/linter/rules/no-leaked-render/). The `biome migrate eslint` command now correctly detects the rule `react/jsx-no-leaked-render` in your eslint configurations. - [#&#8203;8426](https://redirect.github.com/biomejs/biome/pull/8426) [`285d932`](https://redirect.github.com/biomejs/biome/commit/285d9321d8701e86f39b3a747563fc14e129b459) Thanks [@&#8203;anthonyshew](https://redirect.github.com/anthonyshew)! - Added a Turborepo domain and a new "noUndeclaredEnvVars" rule in it for warning users of unsafe environment variable usage in Turborepos. - [#&#8203;8410](https://redirect.github.com/biomejs/biome/pull/8410) [`a21db74`](https://redirect.github.com/biomejs/biome/commit/a21db74bc02ac7ae7e0bd96de242588c6c4108e8) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Fixed [#&#8203;2988](https://redirect.github.com/biomejs/biome/issues/2988) where Biome couldn't handle properly characters that contain multiple code points when running in `stdin` mode. - [#&#8203;8372](https://redirect.github.com/biomejs/biome/pull/8372) [`b352ee4`](https://redirect.github.com/biomejs/biome/commit/b352ee4759f7c3b09a2bf2084de5991e935bce4d) Thanks [@&#8203;Netail](https://redirect.github.com/Netail)! - Added the nursery rule [`noAmbiguousAnchorText`](https://biomejs.dev/linter/rules/no-ambiguous-anchor-text/), which disallows ambiguous anchor descriptions. ##### Invalid ```html <a>learn more</a> ``` ### [`v2.3.9`](https://redirect.github.com/biomejs/biome/blob/HEAD/packages/@&#8203;biomejs/biome/CHANGELOG.md#239) [Compare Source](https://redirect.github.com/biomejs/biome/compare/@biomejs/biome@2.3.8...@biomejs/biome@2.3.9) ##### Patch Changes - [#&#8203;8232](https://redirect.github.com/biomejs/biome/pull/8232) [`84c9e08`](https://redirect.github.com/biomejs/biome/commit/84c9e08b1b736dcc6d163ab1fb48c581b2de458c) Thanks [@&#8203;ruidosujeira](https://redirect.github.com/ruidosujeira)! - Added the nursery rule [`noScriptUrl`](https://biomejs.dev/linter/rules/no-script-url/). This rule disallows the use of `javascript:` URLs, which are considered a form of `eval` and can pose security risks such as XSS vulnerabilities. ```jsx <a href="javascript:alert('XSS')">Click me</a> ``` - [#&#8203;8341](https://redirect.github.com/biomejs/biome/pull/8341) [`343dc4d`](https://redirect.github.com/biomejs/biome/commit/343dc4dfd48a048f0c833af318b6a10dfc4dab6d) Thanks [@&#8203;arendjr](https://redirect.github.com/arendjr)! - Added the nursery rule [`useAwaitThenable`](https://biomejs.dev/linter/rules/use-await-thenable/), which enforces that `await` is only used on Promise values. ##### Invalid ```js await "value"; const createValue = () => "value"; await createValue(); ``` ##### Caution This is a first iteration of the rule, and does not yet detect generic ["thenable"](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise#thenables) values. - [#&#8203;8034](https://redirect.github.com/biomejs/biome/pull/8034) [`e7e0f6c`](https://redirect.github.com/biomejs/biome/commit/e7e0f6c14df92d83d08f86b1e57fc82b4df775b7) Thanks [@&#8203;Netail](https://redirect.github.com/Netail)! - Added the nursery rule [`useRegexpExec`](https://biomejs.dev/linter/rules/use-regexp-exec/). Enforce `RegExp#exec` over `String#match` if no global flag is provided. - [#&#8203;8137](https://redirect.github.com/biomejs/biome/pull/8137) [`d407efb`](https://redirect.github.com/biomejs/biome/commit/d407efb8c650b9288f545efedd4b7d3f9783c8d1) Thanks [@&#8203;denbezrukov](https://redirect.github.com/denbezrukov)! - Reduced the internal memory used by the Biome formatter. - [#&#8203;8281](https://redirect.github.com/biomejs/biome/pull/8281) [`30b046f`](https://redirect.github.com/biomejs/biome/commit/30b046faca464404aaeecfe1ed0e8a94b0e25990) Thanks [@&#8203;tylersayshi](https://redirect.github.com/tylersayshi)! - Added the rule [`useRequiredScripts`](https://biomejs.dev/linter/rules/use-required-scripts/), which enforces presence of configurable entries in the `scripts` section of `package.json` files. - [#&#8203;8290](https://redirect.github.com/biomejs/biome/pull/8290) [`d74c8bd`](https://redirect.github.com/biomejs/biome/commit/d74c8bda655a17405809d24126ee09e9e200d51e) Thanks [@&#8203;dyc3](https://redirect.github.com/dyc3)! - The HTML formatter has been updated to match Prettier 3.7's behavior for handling `<iframe>`'s `allow` attribute. ```diff - <iframe allow="layout-animations 'none'; unoptimized-images 'none'; oversized-images 'none'; sync-script 'none'; sync-xhr 'none'; unsized-media 'none';"></iframe> + <iframe + allow=" + layout-animations 'none'; + unoptimized-images 'none'; + oversized-images 'none'; + sync-script 'none'; + sync-xhr 'none'; + unsized-media 'none'; + " + ></iframe> ``` - [#&#8203;8302](https://redirect.github.com/biomejs/biome/pull/8302) [`d1d5014`](https://redirect.github.com/biomejs/biome/commit/d1d50140f23c9c3ce4f48d9d2b97822234aad798) Thanks [@&#8203;mlafeldt](https://redirect.github.com/mlafeldt)! - Fixed [#&#8203;8109](https://redirect.github.com/biomejs/biome/issues/8109): return statements in Astro frontmatter no longer trigger "Illegal return statement" errors when using `experimentalFullSupportEnabled`. - [#&#8203;8346](https://redirect.github.com/biomejs/biome/pull/8346) [`f3aee1a`](https://redirect.github.com/biomejs/biome/commit/f3aee1a92fba7c61de4b6f5ada3063fb126db885) Thanks [@&#8203;arendjr](https://redirect.github.com/arendjr)! - Fixed [#&#8203;8292](https://redirect.github.com/biomejs/biome/issues/8292): Implement tracking of types of TypeScript constructor parameter properties. This resolves certain false negatives in `noFloatingPromises` and other typed rules. ##### Example ```ts class AsyncClass { async returnsPromise() { return "value"; } } class ShouldBeReported { constructor(public field: AsyncClass) {} // ^^^^^^^^^^^^----------------- Parameter property declaration async shouldBeReported() { // `noFloatingPromises` will now report the following usage: this.field.returnsPromise(); } } ``` - [#&#8203;8326](https://redirect.github.com/biomejs/biome/pull/8326) [`153e3c6`](https://redirect.github.com/biomejs/biome/commit/153e3c6ba999481c8dff2531bcbbd62f4977cd19) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Improved the rule `noBiomeFirstException`. The rule can now inspect if extended configurations already contain the catch-all `**` inside `files.includes` and, if so, the rule suggests removing `**` from the user configuration. - [#&#8203;8433](https://redirect.github.com/biomejs/biome/pull/8433) [`397547a`](https://redirect.github.com/biomejs/biome/commit/397547a85c46d87ccf6a8501c734b844b348865e) Thanks [@&#8203;dyc3](https://redirect.github.com/dyc3)! - Fixed [#&#8203;7920](https://redirect.github.com/biomejs/biome/issues/7920): The CSS parser, with Tailwind directives enabled, will no longer error when you use things like `prefix(tw)` in `@import` at rules. - [#&#8203;8378](https://redirect.github.com/biomejs/biome/pull/8378) [`cc2a62e`](https://redirect.github.com/biomejs/biome/commit/cc2a62e61b3818e59a16e0add9293c6345441ad7) Thanks [@&#8203;Bertie690](https://redirect.github.com/Bertie690)! - Clarify diagnostic message for `lint/style/useUnifiedTypeSignatures` The rule's diagnostic message now clearly states that multiple *similar* overload signatures are hard to read & maintain, as opposed to overload signatures in general. - [#&#8203;8296](https://redirect.github.com/biomejs/biome/pull/8296) [`9d3ef10`](https://redirect.github.com/biomejs/biome/commit/9d3ef10d007e637c43b2f5e97758767da5f03d32) Thanks [@&#8203;dyc3](https://redirect.github.com/dyc3)! - `biome rage` now shows if you have experimental HTML full support enabled. - [#&#8203;8414](https://redirect.github.com/biomejs/biome/pull/8414) [`09acf2a`](https://redirect.github.com/biomejs/biome/commit/09acf2a700f480ae6acbefaab770e8db33d5e596) Thanks [@&#8203;Bertie690](https://redirect.github.com/Bertie690)! - Updated the documentation & diagnostic message for `lint/nursery/noProto`, mentioning the reasons for its longstanding deprecation and why more modern alternatives are preferred. Notably, the rule clearly states that using `__proto__` inside object literal definitions is still allowed, being a standard way to set the prototype of a newly created object. - [#&#8203;8445](https://redirect.github.com/biomejs/biome/pull/8445) [`c3df0e0`](https://redirect.github.com/biomejs/biome/commit/c3df0e04fe6d23b41daa2cd832071d82fbc4224f) Thanks [@&#8203;tt-a1i](https://redirect.github.com/tt-a1i)! - Fix `--changed` and `--staged` flags throwing "No such file or directory" error when a file has been deleted or renamed in the working directory. The CLI now filters out files that no longer exist before processing. - [#&#8203;8459](https://redirect.github.com/biomejs/biome/pull/8459) [`b17d12b`](https://redirect.github.com/biomejs/biome/commit/b17d12b497ef3ec694d53f684295e0c6e49fdcad) Thanks [@&#8203;ruidosujeira](https://redirect.github.com/ruidosujeira)! - Fix [#&#8203;8435](https://redirect.github.com/biomejs/biome/issues/8435): resolved false positive in `noUnusedVariables` for generic type parameters in construct signature type members (`new <T>(): T`). - [#&#8203;8439](https://redirect.github.com/biomejs/biome/pull/8439) [`a78774b`](https://redirect.github.com/biomejs/biome/commit/a78774bd8eabe159d5596bfed198d7216282e159) Thanks [@&#8203;tt-a1i](https://redirect.github.com/tt-a1i)! - Fixed [#&#8203;8011](https://redirect.github.com/biomejs/biome/issues/8011): [`useConsistentCurlyBraces`](https://biomejs.dev/linter/rules/use-consistent-curly-braces/) no longer suggests removing curly braces from JSX expression children containing characters that would cause parsing issues or semantic changes when converted to plain JSX text (`{`, `}`, `<`, `>`, `&`). - [#&#8203;8436](https://redirect.github.com/biomejs/biome/pull/8436) [`a392c06`](https://redirect.github.com/biomejs/biome/commit/a392c0646e285086558b96e0af7a84174d8bb190) Thanks [@&#8203;ruidosujeira](https://redirect.github.com/ruidosujeira)! - Fixed [#&#8203;8429](https://redirect.github.com/biomejs/biome/issues/8429). Formatter, linter, and assist settings now correctly inherit from global configuration when not explicitly specified in overrides. Before this fix, when an override specified only one feature (e.g., only `linter`), other features would be incorrectly disabled instead of inheriting from global settings. Example configuration that now works correctly: ```json { "formatter": { "enabled": true }, "overrides": [ { "includes": ["*.vue"], "linter": { "enabled": false } } ] } ``` After this fix, `.vue` files will have the linter disabled (as specified in the override) but the formatter enabled (inherited from global settings). - [#&#8203;8411](https://redirect.github.com/biomejs/biome/pull/8411) [`9f1b3b0`](https://redirect.github.com/biomejs/biome/commit/9f1b3b06586401b39e0aa886bf7c8484fd2a6ded) Thanks [@&#8203;rriski](https://redirect.github.com/rriski)! - Properly handle `name`, `type_arguments`, and `attributes` slots for `JsxOpeningElement` and `JsxSelfClosingElement` GritQL patterns. The following biome search commands no longer throw errors: ```shell biome search 'JsxOpeningElement(name = $elem_name) where { $elem_name <: "div" }' biome search 'JsxSelfClosingElement(name = $elem_name) where { $elem_name <: "div" }' ``` - [#&#8203;8441](https://redirect.github.com/biomejs/biome/pull/8441) [`cf37d0d`](https://redirect.github.com/biomejs/biome/commit/cf37d0dee56dba8c8b9e81c880f82f365f3102bf) Thanks [@&#8203;tt-a1i](https://redirect.github.com/tt-a1i)! - Fixed [#&#8203;6577](https://redirect.github.com/biomejs/biome/issues/6577): [`noUselessUndefined`](https://biomejs.dev/linter/rules/no-useless-undefined/) no longer reports `() => undefined` in arrow function expression bodies. Previously, the rule would flag this pattern and suggest replacing it with `() => {}`, which conflicts with the `noEmptyBlockStatements` rule. - [#&#8203;8444](https://redirect.github.com/biomejs/biome/pull/8444) [`8caa7a0`](https://redirect.github.com/biomejs/biome/commit/8caa7a07547960d8e9101fe67e2c490ec52426e9) Thanks [@&#8203;tt-a1i](https://redirect.github.com/tt-a1i)! - Fix [`noUnknownMediaFeatureName`](https://biomejs.dev/linter/rules/no-unknown-media-feature-name/) false positive for `prefers-reduced-transparency` media feature. The feature name was misspelled as `prefers-reduded-transparency` in the keywords list. - [#&#8203;8443](https://redirect.github.com/biomejs/biome/pull/8443) [`c3fa5a1`](https://redirect.github.com/biomejs/biome/commit/c3fa5a1f26d8ea90006f9ded667136d6db347a8d) Thanks [@&#8203;tt-a1i](https://redirect.github.com/tt-a1i)! - Fix [`useGenericFontNames`](https://biomejs.dev/linter/rules/use-generic-font-names/) false positive when a CSS variable is used as the last value in `font-family` or `font`. The rule now correctly ignores cases like `font-family: "Noto Serif", var(--serif)` and `font: 1em Arial, var(--fallback)`. - [#&#8203;8281](https://redirect.github.com/biomejs/biome/pull/8281) [`30b046f`](https://redirect.github.com/biomejs/biome/commit/30b046faca464404aaeecfe1ed0e8a94b0e25990) Thanks [@&#8203;tylersayshi](https://redirect.github.com/tylersayshi)! - Fixed [`noDuplicateDependencies`](https://biomejs.dev/linter/rules/no-duplicate-dependencies/) incorrectly triggering on files like `_package.json`. - [#&#8203;8315](https://redirect.github.com/biomejs/biome/pull/8315) [`c7915c4`](https://redirect.github.com/biomejs/biome/commit/c7915c445fbe00d94713e4a285df3e0becde64a7) Thanks [@&#8203;hirokiokada77](https://redirect.github.com/hirokiokada77)! - Fixed [#&#8203;5213](https://redirect.github.com/biomejs/biome/issues/5213): The [`noDoneCallback`](https://biomejs.dev/linter/rules/no-done-callback/) rule no longer flags false positives when a method is called on a regular variable bound to identifiers such as `before`, `after`, `beforeEach`, and `afterEach`. - [#&#8203;8398](https://redirect.github.com/biomejs/biome/pull/8398) [`204844f`](https://redirect.github.com/biomejs/biome/commit/204844f98f50140c4072b3ee1843994dbe73d2f7) Thanks [@&#8203;Bertie690](https://redirect.github.com/Bertie690)! - The default value of the `ignoreRestSiblings` option for [`noUnusedVariables`](https://biomejs.dev/linter/rules/no-unused-variables)' has been reverted to its prior value of `true` after [an internal refactor](https://redirect.github.com/biomejs/biome/pull/7941) accidentally changed it. The diagnostic message has also been tweaked for readability. - [#&#8203;8242](https://redirect.github.com/biomejs/biome/pull/8242) [`9694e37`](https://redirect.github.com/biomejs/biome/commit/9694e373a1d34b799fb24780ddfde8680758b8b8) Thanks [@&#8203;dyc3](https://redirect.github.com/dyc3)! - Fixed bugs in the HTML parser so that it will flag invalid shorthand syntaxes instead of silently accepting them. For example, `<Foo : foo="5" />` is now invalid because there is a space after the `:`. - [#&#8203;8297](https://redirect.github.com/biomejs/biome/pull/8297) [`efa694c`](https://redirect.github.com/biomejs/biome/commit/efa694c019cbdbac5328b76bb70c464ad9befbf8) Thanks [@&#8203;Yonom](https://redirect.github.com/Yonom)! - Added support for negative value utilities in [`useSortedClasses`](https://biomejs.dev/linter/rules/use-sorted-classes/). Negative value utilities such as `-ml-2` or `-top-4` are now recognized and sorted correctly alongside their positive counterparts. ```jsx // Now detected as unsorted: <div class="-ml-2 p-4 -mt-1" /> // Suggested fix: <div class="-mt-1 -ml-2 p-4" /> ``` - [#&#8203;8335](https://redirect.github.com/biomejs/biome/pull/8335) [`3710702`](https://redirect.github.com/biomejs/biome/commit/3710702c3c489f57f82c24311023e1ffad53172a) Thanks [@&#8203;dibashthapa](https://redirect.github.com/dibashthapa)! - Added the new nursery rule [`useDestructuring`](https://biomejs.dev/linter/rules/use-destructuring). This rule helps to encourage destructuring from arrays and objects. For example, the following code triggers because the variable name `x` matches the property `foo.x`, making it ideal for object destructuring syntax. ```js var x = foo.x; ``` - [#&#8203;8383](https://redirect.github.com/biomejs/biome/pull/8383) [`59b2f9a`](https://redirect.github.com/biomejs/biome/commit/59b2f9a780320b5eae8a4e66e2a5fe8256d52fe6) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Fixed [#&#8203;7927](https://redirect.github.com/biomejs/biome/issues/7927): [`noExtraNonNullAssertion`](https://biomejs.dev/linter/rules/no-extra-non-null-assertion) incorrectly flagged separate non-null assertions on both sides of an assignment. The rule now correctly distinguishes between nested non-null assertions (still flagged) and separate non-null assertions on different sides of an assignment (allowed). ##### Examples ##### Valid (now allowed) ```ts arr[0]! ^= arr[1]!; ``` ##### Invalid (still flagged) ```ts arr[0]!! ^= arr[1]; arr[0] ^= arr[1]!!; ``` - [#&#8203;8401](https://redirect.github.com/biomejs/biome/pull/8401) [`382786b`](https://redirect.github.com/biomejs/biome/commit/382786b29f0c1e9524fee370ef7067de82a25e91) Thanks [@&#8203;Bertie690](https://redirect.github.com/Bertie690)! - [`useExhaustiveDependencies`](https://biomejs.dev/linter/rules/use-exhaustive-dependencies) now correctly validates custom hooks whose dependency arrays come before their callbacks. Previously, a logical error caused the rule to be unable to detect dependency arrays placed before hook callbacks, producing spurious errors and blocking further diagnostics. ```json { "linter": { "rules": { "correctness": { "useExhaustiveDependencies": { "level": "error", "options": { "hooks": [ { "name": "doSomething", "closureIndex": 2, "dependenciesIndex": 0 } ] } } } } } } ``` ```js function component() { let thing = 5; // The rule will now correctly recognize `thing` as being specified // instead of erroring due to "missing" dependency arrays doSomething([thing], "blah", () => { console.log(thing); }); } ``` The rule documentation & diagnostic messages have also been reworked for improved clarity. - [#&#8203;8365](https://redirect.github.com/biomejs/biome/pull/8365) [`8f36051`](https://redirect.github.com/biomejs/biome/commit/8f36051bc30978b2900329a18176de423db25cfe) Thanks [@&#8203;JacquesLeupin](https://redirect.github.com/JacquesLeupin)! - Fixed [#&#8203;8360](https://redirect.github.com/biomejs/biome/issues/8360): GritQL plugins defined in child configurations with `extends: "//"` now work correctly. - [#&#8203;8306](https://redirect.github.com/biomejs/biome/pull/8306) [`8de2774`](https://redirect.github.com/biomejs/biome/commit/8de2774fb507a10e32ecf920bb5d0f801a9e869c) Thanks [@&#8203;dibashthapa](https://redirect.github.com/dibashthapa)! - Fixed [#&#8203;8288](https://redirect.github.com/biomejs/biome/issues/8288): Fixed the issue with false positive errors This new change will ignore attribute and only show diagnostics for JSX Expressions For example Valid: ```jsx <Something checked={isOpen && items.length} /> ``` Invalid: ```jsx const Component = () => { return isOpen && items.length; }; ``` - [#&#8203;8356](https://redirect.github.com/biomejs/biome/pull/8356) [`f9673fc`](https://redirect.github.com/biomejs/biome/commit/f9673fc0816908cd686eab7a48d4e8be3f51c7c7) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Fixed [#&#8203;7917](https://redirect.github.com/biomejs/biome/issues/7917), where Biome removed the styles contained in a `<style lang="scss">`, when `experimentalFullSupportEnabled` is enabled. - [#&#8203;8371](https://redirect.github.com/biomejs/biome/pull/8371) [`d71924e`](https://redirect.github.com/biomejs/biome/commit/d71924e26d8c71b7216247d71547e45183d85054) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Fixed [#&#8203;7343](https://redirect.github.com/biomejs/biome/issues/7343), where Biome failed to resolve extended configurations from parent directories using relative paths. - [#&#8203;8404](https://redirect.github.com/biomejs/biome/pull/8404) [`6a221f9`](https://redirect.github.com/biomejs/biome/commit/6a221f98304133d80a8b328b74b203a03f68f571) Thanks [@&#8203;fireairforce](https://redirect.github.com/fireairforce)! - Fixed [#&#8203;7826](https://redirect.github.com/biomejs/biome/issues/7826), where a class member named `async` will not cause the parse error. - [#&#8203;8249](https://redirect.github.com/biomejs/biome/pull/8249) [`893e36c`](https://redirect.github.com/biomejs/biome/commit/893e36c7c39d210ccedfe040bb414945262b5d92) Thanks [@&#8203;cormacrelf](https://redirect.github.com/cormacrelf)! - Addressed [#&#8203;7538](https://redirect.github.com/biomejs/biome/issues/7538). Reduced the volume of logging from the LSP server. Use `biome clean` to remove large logs. - [#&#8203;8303](https://redirect.github.com/biomejs/biome/pull/8303) [`db2c65b`](https://redirect.github.com/biomejs/biome/commit/db2c65b7eaf057eda12434e98acf5430fe77b165) Thanks [@&#8203;hirokiokada77](https://redirect.github.com/hirokiokada77)! - Fixed [#&#8203;8300](https://redirect.github.com/biomejs/biome/issues/8300): [`noUnusedImports`](https://biomejs.dev/linter/rules/no-unused-imports/) now detects JSDoc tags on object properties. ```js import type LinkOnObjectProperty from "mod"; const testLinkOnObjectProperty = { /** * {@&#8203;link LinkOnObjectProperty} */ property: 0, }; ``` - [#&#8203;8328](https://redirect.github.com/biomejs/biome/pull/8328) [`9cf2332`](https://redirect.github.com/biomejs/biome/commit/9cf233275d1369bcce191146660ea92b26d6f211) Thanks [@&#8203;Netail](https://redirect.github.com/Netail)! - Corrected rule source reference. `biome migrate eslint` should do a bit better detecting rules in your eslint configurations. - [#&#8203;8403](https://redirect.github.com/biomejs/biome/pull/8403) [`c96dcf2`](https://redirect.github.com/biomejs/biome/commit/c96dcf2f2824a83f8df8f86b684301184dd1344b) Thanks [@&#8203;dyc3](https://redirect.github.com/dyc3)! - Fixed [#&#8203;8340](https://redirect.github.com/biomejs/biome/issues/8340): `noUnknownProperty` will no longer flag anything in `@plugin` when the parser option `tailwindDirectives` is enabled - [#&#8203;8284](https://redirect.github.com/biomejs/biome/pull/8284) [`4976d1b`](https://redirect.github.com/biomejs/biome/commit/4976d1bebf81f874a0378f904e03c38fdb397702) Thanks [@&#8203;denbezrukov](https://redirect.github.com/denbezrukov)! - Improved the performance of the Biome Formatter by enabling the internal source maps only when needed. - [#&#8203;8260](https://redirect.github.com/biomejs/biome/pull/8260) [`a226b28`](https://redirect.github.com/biomejs/biome/commit/a226b2862daa6e8d130bf3bfd88f6693412607e6) Thanks [@&#8203;ho991217](https://redirect.github.com/ho991217)! - Fixed [biome-vscode#817](https://redirect.github.com/biomejs/biome-vscode/issues/817): Biome now updates documents when the `textDocument/didSave` notification is received. - [#&#8203;8183](https://redirect.github.com/biomejs/biome/pull/8183) [`b064786`](https://redirect.github.com/biomejs/biome/commit/b064786002ec7bd80be3a4a4b94a8f61b0aa3a47) Thanks [@&#8203;hornta](https://redirect.github.com/hornta)! - Fixed [#&#8203;8179](https://redirect.github.com/biomejs/biome/issues/8179): The [`useConsistentArrowReturn`](https://biomejs.dev/linter/rules/use-consistent-arrow-return/) rule now correctly handles multiline expressions in its autofix when the `style` option is set to `"always"`. Previously, the autofix would incorrectly place a newline after the `return` keyword, causing unexpected behavior. Example: ```js const foo = (l) => l.split("\n"); ``` Now correctly autofixes to: ```diff const foo = (l) => { - return - l.split('\n'); + return l.split('\n'); } ``` - [#&#8203;8382](https://redirect.github.com/biomejs/biome/pull/8382) [`7409cba`](https://redirect.github.com/biomejs/biome/commit/7409cbaa9be1eed34c1279920bdd33674120f0b3) Thanks [@&#8203;fireairforce](https://redirect.github.com/fireairforce)! - Fixed [#&#8203;8338](https://redirect.github.com/biomejs/biome/issues/8338): Ignored the `noUnknownTypeSelector` check when the `root` selector is used under View Transition pseudo-elements. **Example** ```css ::view-transition-old(root), ::view-transition-new(root) { z-index: 1; } ``` - [#&#8203;7513](https://redirect.github.com/biomejs/biome/pull/7513) [`e039f3b`](https://redirect.github.com/biomejs/biome/commit/e039f3b17cdf4e4b7c2ae9b0b0c58a9800b5703c) Thanks [@&#8203;AsherDe](https://redirect.github.com/AsherDe)! - Added the nursery rule [`noVueSetupPropsReactivityLoss`](https://biomejs.dev/linter/rules/no-vue-setup-props-reactivity-loss/). This new rule disallows usages that cause the reactivity of `props` passed to the `setup` function to be lost. Invalid code example: ```jsx export default { setup({ count }) { // `count` is no longer reactive here. return () => h("div", count); }, }; ``` </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on the 29th day of the month" (UTC), 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/marimo-team/marimo). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi41OS4wIiwidXBkYXRlZEluVmVyIjoiNDIuNTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 62d6a3f commit c7b8a26

File tree

4 files changed

+46
-45
lines changed

4 files changed

+46
-45
lines changed

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
"devDependencies": {
206206
"@babel/plugin-proposal-decorators": "^7.28.0",
207207
"@babel/preset-typescript": "^7.25.9",
208-
"@biomejs/biome": "2.3.8",
208+
"@biomejs/biome": "2.3.10",
209209
"@codecov/vite-plugin": "^1.9.1",
210210
"@csstools/postcss-light-dark-function": "^2.0.11",
211211
"@playwright/test": "^1.57.0",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"dev": "pnpm run --filter @marimo-team/frontend dev"
1010
},
1111
"devDependencies": {
12-
"@biomejs/biome": "2.3.8",
12+
"@biomejs/biome": "2.3.10",
1313
"@testing-library/jest-dom": "^6.9.1",
1414
"@typescript/native-preview": "7.0.0-dev.20251128.1",
1515
"turbo": "^2.6.1",

packages/lsp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@github/copilot-language-server": "^1.398.0"
1515
},
1616
"devDependencies": {
17-
"@biomejs/biome": "2.3.8",
17+
"@biomejs/biome": "2.3.10",
1818
"@types/minimist": "^1.2.5",
1919
"@types/node": "^24.10.1",
2020
"@types/ws": "^8.18.1",

pnpm-lock.yaml

Lines changed: 43 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)