github biomejs/biome cli/v1.7.3
CLI v1.7.3

CLI

Bug fixes

  • The stdin-file-path option now works correctly for Astro/Svelte/Vue files (#2686)

    Fix #2225 where lint output become empty for Vue files.

    Contributed by @tasshi-me

  • biome migrate eslint now correctly resolve @scope/eslint-config (#2705). Contributed by @Conaclos

Linter

New features

Bug fixes

  • noBlankTarget no longer hangs when applying a code fix (#2675).

    Previously, the following code made Biome hangs when applying a code fix.

    <a href="https://example.com" rel="" target="_blank"></a>

    Contributed by @Conaclos

  • noRedeclare no longer panics on conditional type (#2659).

    This is a regression introduced by #2394.
    This regression makes noRedeclare panics on every conditional types with infer bindings.

    Contributed by @Conaclos

  • noUnusedLabels and noConfusingLabels now ignore svelte reactive statements (#2571).

    The rules now ignore reactive Svelte blocks in Svelte components.

    <script>
    $: { /* reactive block */ }
    </script>

    Contributed by @Conaclos

  • useExportType no longer removes leading comments (#2685).

    Previously, useExportType removed leading comments when it factorized the type qualifier.
    It now provides a code fix that preserves the leading comments:

    - export {
    + export type {
        /**leading comment*/
    -   type T
    +   T
      }

    Contributed by @Conaclos

  • useJsxKeyInIterable no longer reports false positive when iterating on non-jsx items (#2590).

    The following snipet of code no longer triggers the rule:

    <>{data.reduce((total, next) => total + next, 0)}</>

    Contributed by @dyc3

  • Fix typo by renaming useConsistentBuiltinInstatiation to useConsistentBuiltinInstantiation
    Contributed by @minht11

What's Changed

Other changes

New Contributors

Full Changelog: cli/v1.7.2...cli/v1.7.3

Don't miss a new biome release

NewReleases is sending notifications on new releases.