Skip to content

Conversation

@renovate
Copy link
Contributor

@renovaterenovatebot commented Oct 13, 2025

This PR contains the following updates:

PackageChangeAgeConfidence
@biomejs/biome (source)2.2.5 -> 2.2.6ageconfidence
@biomejs/biome (source)2.2.5 -> 2.2.6ageconfidence

Release Notes

biomejs/biome (@​biomejs/biome)

v2.2.6

Compare Source

Patch Changes
  • #​7071a8e7301 Thanks @​ptkagori! - Added the useQwikMethodUsage lint rule for the Qwik domain.

    This rule validates Qwik hook usage. Identifiers matching useXxx must be called only within serialisable reactive contexts (for example, inside component$, route loaders/actions, or within other Qwik hooks), preventing common Qwik antipatterns.

    Invalid:

    // Top-level hook call is invalid.conststate=useStore({count: 0});functionhelper(){// Calling a hook in a non-reactive function is invalid.constloc=useLocation();}

    Valid:

    component$(()=>{conststate=useStore({count: 0});// OK inside component$.return<div>{state.count}</div>;});consthandler=$(()=>{constloc=useLocation();// OK inside a $-wrapped closure.console.log(loc.params);});
  • #​768552071f5 Thanks @​denbezrukov! - Fixed #​6981: The NoUnknownPseudoClass rule no longer reports local pseudo-classes when CSS Modules are used.

  • #​7640899f7b2 Thanks @​arendjr! - Fixed #​7638: useImportExtensions no longer emits diagnostics on valid import paths that end with a query or hash.

Example
// This no longer warns if `index.css` exists:importstylefrom"../theme/index.css?inline";
  • #​7071a8e7301 Thanks @​ptkagori! - Added the useQwikValidLexicalScope rule to the Qwik domain.

    This rule helps you avoid common bugs in Qwik components by checking that your variables and functions are declared in the correct place.

    Invalid:

    // Invalid: state defined outside the component's lexical scope.letstate=useStore({count: 0});constComponent=component$(()=>{return(<buttononClick$={()=>state.count++}>Invalid: {state.count}</button>);});

    Valid:

    // Valid: state initialised within the component's lexical scope and captured by the event.constComponent=component$(()=>{conststate=useStore({count: 0});return<buttononClick$={()=>state.count++}>Valid: {state.count}</button>;});
  • #​76205beb1ee Thanks @​Netail! - Added the rule useDeprecatedDate, which makes a deprecation date required for the graphql @deprecated directive.

    Invalid
    query{member @&#8203;deprecated(reason: "Use `members` instead"){id } }
    Valid
    query{member @&#8203;deprecated(reason: "Use `members` instead", deletionDate: "2099-12-25"){id } }
  • #​7709d6da4d5 Thanks @​siketyan! - Fixed #​7704: The useExhaustiveDependencies rule now correctly adds an object dependency when its method is called within the closure.

    For example:

    functionComponent(props){useEffect(()=>{props.foo();},[]);}

    will now be fixed to:

    functionComponent(props){useEffect(()=>{props.foo();},[props]);}
  • #​7624309ae41 Thanks @​lucasweng! - Fixed #​7595: noUselessEscapeInString no longer reports $\{ escape in template literals.

  • #​766529e4229 Thanks @​ryan-m-walker! - Fixed #​7619: Added support for parsing the CSS :state() pseudo-class.

    custom-selector:state(checked){}
  • #​760841df59b Thanks @​ritoban23! - Fixed #​7604: the useMaxParams rule now highlights parameter lists instead of entire function bodies. This provides more precise error highlighting. Previously, the entire function was highlighted; now only the parameter list is highlighted, such as (a, b, c, d, e, f, g, h).

  • #​7643459a6ac Thanks @​daivinhtran! - Fixed #​7580: Include plugin in summary report


Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (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 these updates again.


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

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

@renovaterenovatebot added the dependency Dependency updates label Oct 13, 2025
@renovaterenovatebotforce-pushed the renovate/biomejs-biome-2.x branch from ee399fc to 4982df9CompareOctober 13, 2025 15:46
@renovaterenovatebotforce-pushed the renovate/biomejs-biome-2.x branch from 4982df9 to a867bddCompareOctober 13, 2025 15:56
@setchysetchy merged commit d733f11 into mainOct 13, 2025
11 of 12 checks passed
@setchysetchy deleted the renovate/biomejs-biome-2.x branch October 13, 2025 15:57
@github-actionsgithub-actionsbot added this to the Release 6.10.0 milestone Oct 13, 2025
@sonarqubecloud
Copy link

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencyDependency updates

Development

Successfully merging this pull request may close these issues.

2 participants

@setchy