Skip to content

feat(qwik): add domain setup and enable some pre-existing rules#6923

Merged
ematipico merged 7 commits intobiomejs:nextfrom
ptkagori:feat/qwik-update-rules
Jul 28, 2025
Merged

feat(qwik): add domain setup and enable some pre-existing rules#6923
ematipico merged 7 commits intobiomejs:nextfrom
ptkagori:feat/qwik-update-rules

Conversation

@ptkagori
Copy link
Contributor

Summary

This PR adds Qwik domain support to Biome, allowing Qwik developers to use Biome for linting and formatting.
It introduces the Qwik domain infrastructure and enables two rules for Qwik projects:

Test Plan

  • All tests pass, including those for Qwik rules.
  • Verified that Qwik projects receive diagnostics for these rules.

Docs

@changeset-bot
Copy link

changeset-bot bot commented Jul 17, 2025

🦋 Changeset detected

Latest commit: 5306ecb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 14 packages
Name Type
@biomejs/biome Minor
@biomejs/cli-win32-x64 Minor
@biomejs/cli-win32-arm64 Minor
@biomejs/cli-darwin-x64 Minor
@biomejs/cli-darwin-arm64 Minor
@biomejs/cli-linux-x64 Minor
@biomejs/cli-linux-arm64 Minor
@biomejs/cli-linux-x64-musl Minor
@biomejs/cli-linux-arm64-musl Minor
@biomejs/wasm-web Minor
@biomejs/wasm-bundler Minor
@biomejs/wasm-nodejs Minor
@biomejs/backend-jsonrpc Patch
@biomejs/js-api Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added A-CLI Area: CLI A-Project Area: project A-Linter Area: linter A-Formatter Area: formatter L-JavaScript Language: JavaScript and super languages labels Jul 17, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented Jul 17, 2025

CodSpeed Performance Report

Merging #6923 will not alter performance

Comparing ptkagori:feat/qwik-update-rules (5306ecb) with next (b510e6f)

Summary

✅ 115 untouched benchmarks

@github-actions github-actions bot removed A-Project Area: project A-Formatter Area: formatter labels Jul 17, 2025
@ematipico ematipico changed the base branch from main to next July 17, 2025 22:03
@ematipico ematipico changed the base branch from next to main July 17, 2025 22:04
@ematipico
Copy link
Member

@ptkagori, as said in the other PR and highlighted in her https://github.com/biomejs/biome/blob/main/CONTRIBUTING.md#creating-pull-requests, this PR must be merged into the next branch. I tried to change the base, but it seems that something didn't work. Can you make sure that this PR is directed to next?

@ptkagori ptkagori force-pushed the feat/qwik-update-rules branch from 896fdc2 to fbed3af Compare July 18, 2025 15:02
@github-actions github-actions bot added the A-Diagnostic Area: diagnostocis label Jul 18, 2025
@ptkagori ptkagori force-pushed the feat/qwik-update-rules branch from fbed3af to c4613a6 Compare July 18, 2025 15:25
@github-actions github-actions bot removed the A-Diagnostic Area: diagnostocis label Jul 18, 2025
@ptkagori ptkagori changed the base branch from main to next July 18, 2025 15:32
@ptkagori ptkagori force-pushed the feat/qwik-update-rules branch from c4613a6 to f519a1d Compare July 18, 2025 15:34
@ptkagori ptkagori changed the title Feat/qwik update rules Add Qwik Domain and enabled pre-existing rules Jul 18, 2025
@ptkagori ptkagori changed the title Add Qwik Domain and enabled pre-existing rules feat: Add Qwik Domain and enabled pre-existing rules Jul 18, 2025
@ptkagori ptkagori changed the title feat: Add Qwik Domain and enabled pre-existing rules feat(qwik): add domain setup and enable some pre-existing rules Jul 18, 2025
@github-actions github-actions bot added A-Core Area: core A-Project Area: project A-Parser Area: parser A-Formatter Area: formatter A-Tooling Area: internal tools A-LSP Area: language server protocol L-JSON Language: JSON and super languages labels Jul 21, 2025
@github-actions github-actions bot added A-Project Area: project A-Resolver Area: resolver and removed A-Core Area: core A-Project Area: project A-Parser Area: parser A-Formatter Area: formatter A-Tooling Area: internal tools A-LSP Area: language server protocol A-Diagnostic Area: diagnostocis A-Type-Inference Area: type inference labels Jul 22, 2025
@ematipico ematipico added this to the Biome v2.2 milestone Jul 22, 2025
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes to this file looks unrelated.

Copy link
Contributor Author

@ptkagori ptkagori Jul 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dyc3 , added those changes in abid to resolve the CI check failures below. while I now run the failing commands locally without issues, I still see the CI failures. Any insights on this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a bunch of removed imports in crates/biome_service/src/workspace/scanner.tests.rs

Comment on lines 1 to 11
use std::sync::Arc;

use biome_fs::{BiomePath, TemporaryFs};
use crossbeam::channel::bounded;
use tokio::sync::watch;

use crate::{
Workspace, WorkspaceServer,
workspace::{OpenProjectParams, ScanKind, ScanProjectFolderParams, ServiceDataNotification},
};

Copy link
Contributor

@dyc3 dyc3 Jul 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should not be removed. Would you happen to be doing development on a windows machine?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes I am doing on windows
jfyi, I'm running each of the failing CI commands e.g for formatting and linting to recreate the failure in local then fixing with only the minimal changes highlighted. That's how we have additional changes

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, I see what's happening. Because the code in this file targets macos and linux, the linter would mark these as unused, and you fixed the lint to make it happy. That indicates a problem with CI, but it doesn't necessarily block this PR.

You'll need to revert the changes to these files.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, sounds good!

@github-actions github-actions bot added the A-Project Area: project label Jul 25, 2025
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file needs to be reverted.

@ematipico
Copy link
Member

@ptkagori do you need some help with the PR?

@ematipico ematipico merged commit 0589f08 into biomejs:next Jul 28, 2025
27 of 28 checks passed
ematipico added a commit that referenced this pull request Aug 12, 2025
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

Co-authored-by: ematipico <602478+ematipico@users.noreply.github.com>
Co-authored-by: dyc3 <1808807+dyc3@users.noreply.github.com>
@github-actions github-actions bot mentioned this pull request Aug 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CLI Area: CLI A-Linter Area: linter A-Project Area: project L-JavaScript Language: JavaScript and super languages L-JSON Language: JSON and super languages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants