-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
refactor(playground): upgrade playground to be compatible with biome 2.0 #1722
Conversation
✅ Deploy Preview for biomejs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
fcd98dd
to
2c38520
Compare
const importSorting = { | ||
code: "Moved to Analyzer Fixes tab", | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is intentional since this PR is focused primarily on simply retaining existing functionality. Planning to fix in a follow up PR.
Arend created a |
FYI, I attempted to merge |
684967d
to
017d991
Compare
bed605f
to
06a2851
Compare
The integration tests are expected to fail here until this repo synchronizes with the main repo, since it depends on the new api surface. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI we removed the all
option from the workspace, so we need to modify how adding rules that aren't recommended.
A change I had in mind is to have a dropdown with all rules, and then we can add the selected rules to the enabledRules
list:
Ah yeah I forgot about that. I'll go ahead and update this PR with a workaround and update #1727 with the UI changes. |
06a2851
to
99ac052
Compare
99ac052
to
85eccec
Compare
e4f3f24
to
82a99d2
Compare
82a99d2
to
799debf
Compare
Summary
This PR updates the playground so that it's compatible with the changes currently on
next
in the main Biome repo. It needs to be merged after biomejs/biome#4760. The goal for this PR is to simply make the playground functional for 2.0, not to add new features to support new 2.0 functionality.To test this, I've been using the following command to build the wasm bin and copy over to this repo's
node_modules
: