Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@biomejs/biome@2.2.6
Patch Changes
#7071
a8e7301
Thanks @ptkagori! - Added theuseQwikMethodUsage
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, insidecomponent$
, route loaders/actions, or within other Qwik hooks), preventing common Qwik antipatterns.Invalid:
Valid:
#7685
52071f5
Thanks @denbezrukov! - Fixed #6981: The NoUnknownPseudoClass rule no longer reports local pseudo-classes when CSS Modules are used.#7640
899f7b2
Thanks @arendjr! - Fixed #7638:useImportExtensions
no longer emits diagnostics on valid import paths that end with a query or hash.Example
#7071
a8e7301
Thanks @ptkagori! - Added theuseQwikValidLexicalScope
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:
Valid:
#7620
5beb1ee
Thanks @Netail! - Added the ruleuseDeprecatedDate
, which makes a deprecation date required for the graphql@deprecated
directive.Invalid
Valid
#7709
d6da4d5
Thanks @siketyan! - Fixed #7704: TheuseExhaustiveDependencies
rule now correctly adds an object dependency when its method is called within the closure.For example:
will now be fixed to:
#7624
309ae41
Thanks @lucasweng! - Fixed #7595:noUselessEscapeInString
no longer reports$\{
escape in template literals.#7665
29e4229
Thanks @ryan-m-walker! - Fixed #7619: Added support for parsing the CSS:state()
pseudo-class.#7608
41df59b
Thanks @ritoban23! - Fixed #7604: theuseMaxParams
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)
.#7643
459a6ac
Thanks @daivinhtran! - Fixed #7580: Include plugin in summary report@biomejs/backend-jsonrpc@2.0.19
@biomejs/cli-darwin-arm64@2.2.6
@biomejs/cli-darwin-x64@2.2.6
@biomejs/cli-linux-arm64@2.2.6
@biomejs/cli-linux-arm64-musl@2.2.6
@biomejs/cli-linux-x64@2.2.6
@biomejs/cli-linux-x64-musl@2.2.6
@biomejs/cli-win32-arm64@2.2.6
@biomejs/cli-win32-x64@2.2.6
@biomejs/wasm-bundler@2.2.6
@biomejs/wasm-nodejs@2.2.6
@biomejs/wasm-web@2.2.6