Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

oxc vscode settings (#8984)

Myles Scolnickfc41d6d1f5dc
diff --git a/.github/renovate.json5 b/.github/renovate.json5
index 9c682da3b3..7a017d8cb2 100644
--- a/.github/renovate.json5
+++ b/.github/renovate.json5
@@ -62,7 +62,7 @@
"!/.*typescript.*/",
"!/.*openapi-fetch.*/",
"!/.*react-aria.*/",
- "!/.*biome.*/",
+ "!/.*@oxc.*/",
// react-hook-form is pinned to 7.54.2
"!/.*react-hook-form.*/",
// vega-lite is pinned to 6.3.1
@@ -122,11 +122,11 @@
"matchPackageNames": ["/.*eslint.*/"],
"schedule": ["on the 28th day of the month"]
},
- // Group all biome dependencies
+ // Group all oxc dependencies
{
- "groupName": "all biome dependencies",
+ "groupName": "all oxc dependencies",
"matchUpdateTypes": ["minor", "patch", "major"],
- "matchPackageNames": ["/.*biome.*/"],
+ "matchPackageNames": ["/.*@oxc.*/", "oxlint", "oxfmt"],
"schedule": ["on the 29th day of the month"]
}
]
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
index ad0be1b432..91f1f51ab0 100644
--- a/.vscode/extensions.json
+++ b/.vscode/extensions.json
@@ -4,7 +4,7 @@
"charliermarsh.ruff",
// TypeScript/JavaScript/React
- "biomejs.biome",
+ "void-zero.vite-plus-extension-pack",
"ms-vscode.vscode-typescript-next",
],
}
diff --git a/.vscode/settings.json b/.vscode/settings.json
index c785a277e9..5d6df23d0d 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,40 +1,36 @@
{
- // These match our linters
- "[python]": {
- "editor.defaultFormatter": "charliermarsh.ruff",
- },
- "[typescript]": {
- "editor.defaultFormatter": "biomejs.biome"
- },
- "[typescriptreact]": {
- "editor.defaultFormatter": "biomejs.biome"
- },
- "[javascript]": {
- "editor.defaultFormatter": "biomejs.biome"
- },
- "[javascriptreact]": {
- "editor.defaultFormatter": "biomejs.biome"
- },
- "[json]": {
- "editor.defaultFormatter": "biomejs.biome"
- },
- "[jsonc]": {
- "editor.defaultFormatter": "biomejs.biome"
- },
- "[markdown]": {
- "editor.defaultFormatter": "biomejs.biome",
- },
+ // These match our linters
+ "[python]": {
+ "editor.defaultFormatter": "charliermarsh.ruff"
+ },
+ "[typescript]": {
+ "editor.defaultFormatter": "oxc.oxc-vscode"
+ },
+ "[typescriptreact]": {
+ "editor.defaultFormatter": "oxc.oxc-vscode"
+ },
+ "[javascript]": {
+ "editor.defaultFormatter": "oxc.oxc-vscode"
+ },
+ "[javascriptreact]": {
+ "editor.defaultFormatter": "oxc.oxc-vscode"
+ },
+ "[json]": {
+ "editor.defaultFormatter": "oxc.oxc-vscode"
+ },
+ "[jsonc]": {
+ "editor.defaultFormatter": "oxc.oxc-vscode"
+ },
+ "[markdown]": {
+ "editor.defaultFormatter": "oxc.oxc-vscode"
+ },
- "python.testing.pytestEnabled": true,
- "python.testing.pytestArgs": [
- "tests",
- "-v",
- "--tb=short"
- ],
- "python.testing.autoTestDiscoverOnSaveEnabled": true,
+ "python.testing.pytestEnabled": true,
+ "python.testing.pytestArgs": ["tests", "-v", "--tb=short"],
+ "python.testing.autoTestDiscoverOnSaveEnabled": true,
- // Other settings that match our linters
- "files.trimTrailingWhitespace": true,
- "files.insertFinalNewline": true,
- "files.trimFinalNewlines": true,
+ // Other settings that match our linters
+ "files.trimTrailingWhitespace": true,
+ "files.insertFinalNewline": true,
+ "files.trimFinalNewlines": true
}
diff --git a/CODEOWNERS b/CODEOWNERS
index 767bf05b6d..705170dd52 100644
--- a/CODEOWNERS
+++ b/CODEOWNERS
@@ -33,4 +33,3 @@ package.json @mscolnick @manzt
# CI
/.github/ @mscolnick @manzt
-biome.jsonc @mscolnick @manzt
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 5f3e710b43..16fc3e1c74 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -291,22 +291,6 @@ marimo server. This means that:
develop on the frontend, but you will not be able to test the frontend in
the same way that it will be used in production.
-## Editor settings
-
-If you use vscode, you might find the following `settings.json` useful:
-
-```json
-{
- "editor.formatOnSave": true,
- "editor.formatOnPaste": false,
- "[typescript]": {
- "editor.defaultFormatter": "biomejs.biome"
- },
- "[typescriptreact]": {
- "editor.defaultFormatter": "biomejs.biome"
- }
-}
-```
## PRs
diff --git a/frontend/technology-decisions.md b/frontend/technology-decisions.md
index c8eaf59a5d..22fa8ccb43 100644
--- a/frontend/technology-decisions.md
+++ b/frontend/technology-decisions.md
@@ -7,7 +7,7 @@ Quick-hit list of technologies used and why, for the frontend.
- [Radix UI](https://www.radix-ui.com/) - Unstyled Component Library that's accessible and has a good API.
- [Radix Colors](https://www.radix-ui.com/colors) - Color palette. It's a great color palette that's accessible and has a good range of colors, supporting light and dark modes.
- [ESLint](https://eslint.org/) - Linter for Typescript. Pretty much the standard for linting.
-- [Biome](https://biomejs.dev/) - Fast code formatter
+- [oxlint/oxfmt](https://oxc.rs/) - Code formatter and linter.
- [MSW](https://mswjs.io/) - Mocking library for API calls. Great for testing and development.
- [Playwright](https://playwright.dev/) - E2E testing library. Great for testing and development. It's faster than Cypress and has a better API.
- [jotai](https://jotai.org/) - State management library to avoid re-renders. Great for simple state management. It's a lot simpler than Redux and has a better API.
diff --git a/packages/lsp/package.json b/packages/lsp/package.json
index 6374892b88..b51acb69d6 100644
--- a/packages/lsp/package.json
+++ b/packages/lsp/package.json
@@ -14,7 +14,6 @@
"@github/copilot-language-server": "^1.418.0"
},
"devDependencies": {
- "@biomejs/biome": "2.3.13",
"@types/minimist": "^1.2.5",
"@types/node": "^24.10.9",
"@types/ws": "^8.18.1",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 13ac9716b0..ee4be0a55e 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -603,9 +603,6 @@ importers:
specifier: ^1.418.0
version: 1.418.0
devDependencies:
- '@biomejs/biome':
- specifier: 2.3.13
- version: 2.3.13
'@types/minimist':
specifier: ^1.2.5
version: 1.2.5
@@ -918,63 +915,6 @@ packages:
resolution: {integrity: sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==}
engines: {node: '>=6.9.0'}
- '@biomejs/[email protected]':
- resolution: {integrity: sha512-Fw7UsV0UAtWIBIm0M7g5CRerpu1eKyKAXIazzxhbXYUyMkwNrkX/KLkGI7b+uVDQ5cLUMfOC9vR60q9IDYDstA==}
- engines: {node: '>=14.21.3'}
- hasBin: true
-
- '@biomejs/[email protected]':
- resolution: {integrity: sha512-0OCwP0/BoKzyJHnFdaTk/i7hIP9JHH9oJJq6hrSCPmJPo8JWcJhprK4gQlhFzrwdTBAW4Bjt/RmCf3ZZe59gwQ==}
- engines: {node: '>=14.21.3'}
- cpu: [arm64]
- os: [darwin]
-
- '@biomejs/[email protected]':
- resolution: {integrity: sha512-AGr8OoemT/ejynbIu56qeil2+F2WLkIjn2d8jGK1JkchxnMUhYOfnqc9sVzcRxpG9Ycvw4weQ5sprRvtb7Yhcw==}
- engines: {node: '>=14.21.3'}
- cpu: [x64]
- os: [darwin]
-
- '@biomejs/[email protected]':
- resolution: {integrity: sha512-TUdDCSY+Eo/EHjhJz7P2GnWwfqet+lFxBZzGHldrvULr59AgahamLs/N85SC4+bdF86EhqDuuw9rYLvLFWWlXA==}
- engines: {node: '>=14.21.3'}
- cpu: [arm64]
- os: [linux]
- libc: [musl]
-
- '@biomejs/[email protected]':
- resolution: {integrity: sha512-xvOiFkrDNu607MPMBUQ6huHmBG1PZLOrqhtK6pXJW3GjfVqJg0Z/qpTdhXfcqWdSZHcT+Nct2fOgewZvytESkw==}
- engines: {node: '>=14.21.3'}
- cpu: [arm64]
- os: [linux]
- libc: [glibc]
-
- '@biomejs/[email protected]':
- resolution: {integrity: sha512-0bdwFVSbbM//Sds6OjtnmQGp4eUjOTt6kHvR/1P0ieR9GcTUAlPNvPC3DiavTqq302W34Ae2T6u5VVNGuQtGlQ==}
- engines: {node: '>=14.21.3'}
- cpu: [x64]
- os: [linux]
- libc: [musl]
-
- '@biomejs/[email protected]':
- resolution: {integrity: sha512-s+YsZlgiXNq8XkgHs6xdvKDFOj/bwTEevqEY6rC2I3cBHbxXYU1LOZstH3Ffw9hE5tE1sqT7U23C00MzkXztMw==}
- engines: {node: '>=14.21.3'}
- cpu: [x64]
- os: [linux]
- libc: [glibc]
-
- '@biomejs/[email protected]':
- resolution: {integrity: sha512-QweDxY89fq0VvrxME+wS/BXKmqMrOTZlN9SqQ79kQSIc3FrEwvW/PvUegQF6XIVaekncDykB5dzPqjbwSKs9DA==}
- engines: {node: '>=14.21.3'}
- cpu: [arm64]
- os: [win32]
-
- '@biomejs/[email protected]':
- resolution: {integrity: sha512-trDw2ogdM2lyav9WFQsdsfdVy1dvZALymRpgmWsvSez0BJzBjulhOT/t+wyKeh3pZWvwP3VMs1SoOKwO3wecMQ==}
- engines: {node: '>=14.21.3'}
- cpu: [x64]
- os: [win32]
-
'@braintree/[email protected]':
resolution: {integrity: sha512-i1L7noDNxtFyL5DmZafWy1wRVhGehQmzZaz1HiN5e7iylJMSZR7ekOV7NsIqa5qBldlLrsKv4HbgFUVlQrz8Mw==}
@@ -10236,41 +10176,6 @@ snapshots:
'@babel/helper-string-parser': 7.27.1
'@babel/helper-validator-identifier': 7.28.5
- '@biomejs/[email protected]':
- optionalDependencies:
- '@biomejs/cli-darwin-arm64': 2.3.13
- '@biomejs/cli-darwin-x64': 2.3.13
- '@biomejs/cli-linux-arm64': 2.3.13
- '@biomejs/cli-linux-arm64-musl': 2.3.13
- '@biomejs/cli-linux-x64': 2.3.13
- '@biomejs/cli-linux-x64-musl': 2.3.13
- '@biomejs/cli-win32-arm64': 2.3.13
- '@biomejs/cli-win32-x64': 2.3.13
-
- '@biomejs/[email protected]':
- optional: true
-
- '@biomejs/[email protected]':
- optional: true
-
- '@biomejs/[email protected]':
- optional: true
-
- '@biomejs/[email protected]':
- optional: true
-
- '@biomejs/[email protected]':
- optional: true
-
- '@biomejs/[email protected]':
- optional: true
-
- '@biomejs/[email protected]':
- optional: true
-
- '@biomejs/[email protected]':
- optional: true
-
'@braintree/[email protected]': {}
'@bufbuild/[email protected]': {}