Skip to content

chore(deps): update dependency @biomejs/biome to v2.1.3 #2427

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 2, 2025

This PR contains the following updates:

Package Change Age Confidence
@biomejs/biome (source) 2.1.2 -> 2.1.3 age confidence

Release Notes

biomejs/biome (@​biomejs/biome)

v2.1.3

Compare Source

Patch Changes
  • #​7057 634a667 Thanks @​mdevils! - Added the rule noVueReservedKeys, which prevents the use of reserved Vue keys.

    It prevents the use of Vue reserved keys such as those starting with # @​biomejs/biome (like $el, $data, $props) and keys starting with _` in data properties, which can cause conflicts and unexpected behavior in Vue components.

    Invalid example
    <script>
    export default {
      data: {
        $el: "",
        _foo: "bar",
      },
    };
    </script>
    <script>
    export default {
      computed: {
        $data() {
          return this.someData;
        },
      },
    };
    </script>
    Valid examples
    <script>
    export default {
      data() {
        return {
          message: "Hello Vue!",
          count: 0,
        };
      },
    };
    </script>
    <script>
    export default {
      computed: {
        displayMessage() {
          return this.message;
        },
      },
    };
    </script>
  • #​6941 734d708 Thanks @​JamBalaya56562! - Added @eslint-react/no-nested-component-definitions as a rule source for noNestedComponentDefinitions. Now it will get picked up by biome migrate --eslint.

  • #​6463 0a16d54 Thanks @​JamBalaya56562! - Fixed a website link for the useComponentExportOnlyModules linter rule to point to the correct URL.

  • #​6944 e53f2fe Thanks @​sterliakov! - Fixed #​6910: Biome now ignores type casts and assertions when evaluating numbers for noMagicNumbers rule.

  • #​6991 476cd55 Thanks @​denbezrukov! - Fixed #​6973: Add support for parsing the :active-view-transition-type() pseudo-class

    :active-view-transition-type(first second) {
    }
  • #​6992 0b1e194 Thanks @​ematipico! - Added a new JSON rule called noQuickfixBiome, which disallow the use of code action quickfix.biome inside code editor settings.

  • #​6943 249306d Thanks @​JamBalaya56562! - Fixed @vitest/eslint-plugin source url.

  • #​6947 4c7ed0f Thanks @​JamBalaya56562! - Fixed ESLint migration for the rule prefer-for from eslint-plugin-solid to Biome's useForComponent.

  • #​6976 72ebadc Thanks @​siketyan! - Fixed #​6692: The rules noUnusedVariables and noUnusedFunctionParameters no longer cause an infinite loop when the suggested name is not applicable (e.g. the suggested name is already declared in the scope).

  • #​6990 333f5d0 Thanks @​rvanlaarhoven! - Fixed the documentation URL for lint/correctness/noUnknownPseudoClass

  • #​7000 4021165 Thanks @​harxki! - Fixed #​6795: noUnassignedVariables now correctly recognizes variables used in JSX ref attributes.

  • #​7044 b091ddf Thanks @​ematipico! - Fixed #​6622, now the rule useSemanticElements works for JSX self-closing elements too.

  • #​7014 c4864e8 Thanks @​siketyan! - Fixed #​6516: The biome migrate command no longer break the member list with trailing comments.

  • #​6979 29cb6da Thanks @​unvalley! - Fixed #​6767: useSortedClasses now correctly removes leading and trailing whitespace in className.

    Previously, trailing spaces in className were not fully removed.

    // Think we have this code:
    <div className="text-sm font-bold            " />
    
    // Before: applied fix, but a trailing space was preserved
    <div className="font-bold text-sm " />
    
    // After: applied fix, trailing spaces removed
    <div className="font-bold text-sm" />
  • #​7055 ee4828d Thanks @​dyc3! - Added the nursery rule useReactFunctionComponents. This rule enforces the preference to use function components instead of class components.

    Valid:

    function Foo() {
      return <div>Hello, world!</div>;
    }

    Invalid:

    class Foo extends React.Component {
      render() {
        return <div>Hello, world!</div>;
      }
    }
  • #​6924 2d21be9 Thanks @​ematipico! - Fixed #​113, where the Biome Language Server didn't correctly update the diagnostics when the configuration file is modified in the editor. Now the diagnostics are correctly updated every time the configuration file is modified and saved.

  • #​6931 e6b2380 Thanks @​arendjr! - Fixed #​6915: useHookAtTopLevel no longer hangs when rules call themselves recursively.

  • #​7012 01c0ab4 Thanks @​siketyan! - Fixed #​5837: Invalid suppression comments such as biome-ignore-all-start or biome-ignore-all-end no longer causes a panic.

  • #​6949 48462f8 Thanks @​fireairforce! - Support parse import defer(which is a stage3 proposal). The syntax look like this:

    import defer * as foo from "<specifier>";
  • #​6938 5feb5a6 Thanks @​vladimir-ivanov! - Fixed #​6919 and #​6920:
    useReadonlyClassProperties now does checks for mutations in async class methods.

    Example:

    class Counter3 {
      private counter: number;
      async count() {
        this.counter = 1;
        const counterString = `${this.counter++}`;
      }
    }
  • #​6942 cfda528 Thanks @​sterliakov! - Fixed #​6939. Biome now understands this binding in classes outside of methods.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner August 2, 2025 14:22
@renovate renovate bot force-pushed the renovate/biomejs-biome-2.x branch from 1704943 to dc1df24 Compare August 6, 2025 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants