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.

chore: migrate eslint/biome ignore to oxlint ignore, turn off some rules (#9001)

Kiran Gadhave78ac4307a62c
diff --git a/docs/_static/js/analytics.js b/docs/_static/js/analytics.js
index 1dc2bc2952..9c0085f72a 100644
--- a/docs/_static/js/analytics.js
+++ b/docs/_static/js/analytics.js
@@ -6,7 +6,7 @@ if (window.location.pathname.endsWith('.html')) {
}
// @ts-ignore
-// biome-ignore
+// oxlint-disable-next-line
!function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.async=!0,p.src=s.api_host+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled onFeatureFlags getFeatureFlag getFeatureFlagPayload reloadFeatureFlags group updateEarlyAccessFeatureEnrollment getEarlyAccessFeatures getActiveMatchingSurveys getSurveys".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]);
// @ts-ignore
posthog.init("phc_U2xS6waxdmM6YDt9l6jwDdluVinawgkSn69qPAohz59", {
diff --git a/frontend/.oxlintrc.json b/frontend/.oxlintrc.json
index fd7a071985..6c9a7dcf9c 100644
--- a/frontend/.oxlintrc.json
+++ b/frontend/.oxlintrc.json
@@ -29,13 +29,35 @@
"marimo/prefer-object-params": "warn",
"marimo/atom-with-storage-args": "error",
+ // === Disabled category rules (too noisy / not applicable) ===
+ "no-use-before-define": "off",
+ "no-undefined": "off",
+ "no-shadow": "off",
+ "no-eq-null": "off",
+ "no-plusplus": "off",
+ "no-param-reassign": "off",
+ "no-void": "off",
+ "no-await-in-loop": "off",
+ "complexity": "off",
+ "default-case": "off",
+ "class-methods-use-this": "off",
+ "react/react-in-jsx-scope": "off",
+ "react/only-export-components": "off",
+ "typescript/explicit-module-boundary-types": "off",
+ "unicorn/no-array-for-each": "off",
+ "unicorn/no-array-reduce": "off",
+ "unicorn/consistent-function-scoping": "off",
+ "unicorn/prefer-add-event-listener": "off",
+ "vitest/require-test-timeout": "off",
+ "vitest/require-mock-type-parameters": "off",
+
// === Core rules ===
"no-var": "error",
"no-console": "error",
- "no-debugger": "error",
+ "no-constant-condition": "warn",
"no-inner-declarations": "error",
"no-useless-constructor": "error",
- "no-shadow-restricted-names": "error",
+
"no-redeclare": "off",
"no-empty": "warn",
"no-cond-assign": "warn",
@@ -45,6 +67,8 @@
"eqeqeq": ["error", "smart"],
"curly": "error",
"array-callback-return": "warn",
+ "no-new": "off",
+ "no-bitwise": "off",
// TODO: re-enable
"no-control-regex": "warn",
// TODO: re-enable
@@ -55,6 +79,9 @@
"no-unused-vars": "warn",
// === TypeScript ===
+ "typescript/no-explicit-any": "warn",
+ "typescript/no-non-null-assertion": "warn",
+ "typescript/ban-ts-comment": "warn",
"typescript/consistent-generic-constructors": "error",
"typescript/consistent-type-definitions": "error",
"typescript/no-confusing-non-null-assertion": "error",
@@ -63,15 +90,7 @@
"typescript/no-empty-object-type": "off",
"typescript/no-confusing-void-expression": "error",
"typescript/consistent-type-imports": ["error", { "disallowTypeAnnotations": false }],
- "typescript/explicit-function-return-type": ["warn", {
- "allowConciseArrowFunctionExpressionsStartingWithVoid": true,
- "allowDirectConstAssertionInArrowFunctions": true,
- "allowExpressions": true,
- "allowFunctionsWithoutTypeParameters": true,
- "allowHigherOrderFunctions": true,
- "allowIIFEs": true,
- "allowTypedFunctionExpressions": true,
- }],
+ "typescript/explicit-function-return-type": "off",
// === Unicorn ===
"unicorn/switch-case-braces": ["error", "avoid"],
@@ -83,12 +102,15 @@
"unicorn/no-instanceof-array": "error",
// === React ===
+ "react/no-array-index-key": "off",
"react/jsx-boolean-value": ["error", "always"],
"react/jsx-pascal-case": "error",
"react/no-multi-comp": "off",
"react/jsx-filename-extension": "off",
// TODO: re-enable as error
"react/jsx-no-useless-fragment": "warn",
+ "react/jsx-no-target-blank": "warn",
+ "react/jsx-no-comment-textnodes": "warn",
"react/self-closing-comp": "error",
// === React Hooks ===
@@ -97,16 +119,18 @@
// === JSX A11y ===
// TODO: re-enable all of these as error
- "jsx-a11y/click-events-have-key-events": "warn",
- "jsx-a11y/heading-has-content": "warn",
+ "jsx-a11y/click-events-have-key-events": "off",
+ "jsx-a11y/heading-has-content": "off",
"jsx-a11y/iframe-has-title": "warn",
- "jsx-a11y/media-has-caption": "warn",
- "jsx-a11y/no-autofocus": "warn",
+ "jsx-a11y/media-has-caption": "off",
+ "jsx-a11y/no-autofocus": "off",
"jsx-a11y/no-noninteractive-tabindex": "warn",
- "jsx-a11y/no-static-element-interactions": "warn",
+ "jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/prefer-tag-over-role": "warn",
"jsx-a11y/role-has-required-aria-props": "warn",
+ "react/no-danger": "off",
+
// === Unicorn ===
"unicorn/prefer-node-protocol": "error",
@@ -114,7 +138,6 @@
"vitest/expect-expect": "warn",
"vitest/no-identical-title": "error",
"vitest/no-commented-out-tests": "warn",
- "vitest/require-mock-type-parameters": "warn",
},
"overrides": [
{
diff --git a/frontend/.storybook/main.ts b/frontend/.storybook/main.ts
index 28ee4a093e..92428dc35c 100644
--- a/frontend/.storybook/main.ts
+++ b/frontend/.storybook/main.ts
@@ -2,7 +2,7 @@ import * as mod from "node:module";
import * as path from "node:path";
import type { StorybookConfig } from "@storybook/react-vite";
-function absolutePath(value: string): any {
+function absolutePath(value: string) {
const require = mod.createRequire(import.meta.url);
return path.dirname(require.resolve(path.join(value, "package.json")));
}
diff --git a/frontend/e2e-tests/global-teardown.ts b/frontend/e2e-tests/global-teardown.ts
index 842ef7aac8..17f1e6b982 100644
--- a/frontend/e2e-tests/global-teardown.ts
+++ b/frontend/e2e-tests/global-teardown.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/** biome-ignore-all lint/suspicious/noConsole: for debugging */
+/* oxlint-disable no-console -- for debugging */
import { exec } from "node:child_process";
import { promisify } from "node:util";
@@ -25,7 +25,7 @@ async function globalTeardown() {
"pkill -9 -f '[u]v.*run.*[m]arimo' || true",
];
for (const cmd of killCmds) {
- // eslint-disable-next-line @typescript-eslint/no-empty-function
+ // oxlint-disable-next-line typescript/no-empty-function
await execAsync(cmd).catch(() => {});
}
console.log("✅ Cleaned up marimo/uv processes");
diff --git a/frontend/src/__mocks__/common.ts b/frontend/src/__mocks__/common.ts
index 20efe4c51d..8b81f3368c 100644
--- a/frontend/src/__mocks__/common.ts
+++ b/frontend/src/__mocks__/common.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/** biome-ignore-all lint/suspicious/noConsole: for debugging */
+/* oxlint-disable no-console -- for debugging */
import { type Mock, vi } from "vitest";
import { invariant } from "@/utils/invariant";
@@ -137,12 +137,12 @@ export const SetupMocks = {
store[key] = value;
}),
removeItem: vi.fn((key: string) => {
- // eslint-disable-next-line @typescript-eslint/no-dynamic-delete
+ // oxlint-disable-next-line typescript/no-dynamic-delete
delete store[key];
}),
clear: vi.fn(() => {
for (const key of Object.keys(store)) {
- // eslint-disable-next-line @typescript-eslint/no-dynamic-delete
+ // oxlint-disable-next-line typescript/no-dynamic-delete
delete store[key];
}
}),
@@ -179,7 +179,7 @@ export const SetupMocks = {
},
};
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
+// oxlint-disable-next-line typescript/no-explicit-any
export function asMock<T extends (...args: any[]) => unknown>(fn: T): Mock<T> {
invariant(
"mock" in fn,
diff --git a/frontend/src/components/chat/acp/agent-panel.tsx b/frontend/src/components/chat/acp/agent-panel.tsx
index 44ed36b6c1..7fa923dc84 100644
--- a/frontend/src/components/chat/acp/agent-panel.tsx
+++ b/frontend/src/components/chat/acp/agent-panel.tsx
@@ -763,7 +763,7 @@ const AgentPanel: React.FC = () => {
// We don't want to disconnect so users can switch between different
// panels without losing their session
};
- // eslint-disable-next-line react-hooks/exhaustive-deps
+ // oxlint-disable-next-line react-hooks/exhaustive-deps
}, [wsUrl]);
const handleNewSession = useEvent(async () => {
@@ -889,7 +889,7 @@ const AgentPanel: React.FC = () => {
};
createOrResumeSession();
- // eslint-disable-next-line react-hooks/exhaustive-deps
+ // oxlint-disable-next-line react-hooks/exhaustive-deps
}, [isConnected, agent, tabLastActiveSessionId, activeSessionId]);
// Handler for prompt submission
diff --git a/frontend/src/components/data-table/__tests__/columns.test.tsx b/frontend/src/components/data-table/__tests__/columns.test.tsx
index a0ba8c8daa..8b9ee4a9e2 100644
--- a/frontend/src/components/data-table/__tests__/columns.test.tsx
+++ b/frontend/src/components/data-table/__tests__/columns.test.tsx
@@ -230,7 +230,7 @@ describe("generateColumns", () => {
});
// "age" is a number column — should auto right-align
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
const cell = (columns[1].cell as any)({
column: {
columnDef: columns[1],
@@ -241,7 +241,7 @@ describe("generateColumns", () => {
expect(cell?.props.className).toContain("text-right");
// "name" is a string column — should remain left-aligned
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
const nameCell = (columns[0].cell as any)({
column: {
columnDef: columns[0],
@@ -261,7 +261,7 @@ describe("generateColumns", () => {
});
// "age" is numeric but explicitly set to left
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
const cell = (columns[1].cell as any)({
column: {
columnDef: columns[1],
@@ -301,7 +301,7 @@ describe("generateColumns", () => {
});
// Assuming getCellStyleClass is a function that returns a class name
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
const cell = (columns[0].cell as any)({
column: {
columnDef: columns[0],
@@ -333,7 +333,7 @@ describe("generateColumns", () => {
// Right-justified: parent wrapper should have items-end, sort/filter icons should flip to the left
const { container: rightContainer } = render(
<TooltipProvider>
- {/* eslint-disable-next-line @typescript-eslint/no-explicit-any */}
+ {/* oxlint-disable-next-line typescript/no-explicit-any */}
{(columns[0].header as any)({ column: mockColumn(columns[0]) })}
</TooltipProvider>,
);
@@ -347,7 +347,7 @@ describe("generateColumns", () => {
// Center-justified: parent wrapper should have items-center, no flex-row-reverse
const { container: centerContainer } = render(
<TooltipProvider>
- {/* eslint-disable-next-line @typescript-eslint/no-explicit-any */}
+ {/* oxlint-disable-next-line typescript/no-explicit-any */}
{(columns[1].header as any)({ column: mockColumn(columns[1]) })}
</TooltipProvider>,
);
@@ -572,7 +572,7 @@ describe("LocaleNumber", () => {
<LocaleNumber value={1_234_567.89} />
</I18nProvider>,
);
- // eslint-disable-next-line no-irregular-whitespace
+ // oxlint-disable-next-line no-irregular-whitespace
expect(container.textContent).toMatchInlineSnapshot(`"1 234 567,89"`);
});
diff --git a/frontend/src/components/data-table/cell-hover-template/types.ts b/frontend/src/components/data-table/cell-hover-template/types.ts
index 7c15b8f20e..d66479c6d9 100644
--- a/frontend/src/components/data-table/cell-hover-template/types.ts
+++ b/frontend/src/components/data-table/cell-hover-template/types.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-empty-interface */
+/* oxlint-disable typescript/no-empty-object-type */
export interface CellHoverTemplateTableState {
cellHoverTemplate: string | null;
diff --git a/frontend/src/components/data-table/cell-hover-text/types.ts b/frontend/src/components/data-table/cell-hover-text/types.ts
index 002ed904fe..79a56937ce 100644
--- a/frontend/src/components/data-table/cell-hover-text/types.ts
+++ b/frontend/src/components/data-table/cell-hover-text/types.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-empty-interface */
+/* oxlint-disable typescript/no-empty-object-type */
import type { RowData } from "@tanstack/react-table";
diff --git a/frontend/src/components/data-table/cell-selection/__tests__/feature.test.ts b/frontend/src/components/data-table/cell-selection/__tests__/feature.test.ts
index 5c8b6fefd3..3602f8cbc5 100644
--- a/frontend/src/components/data-table/cell-selection/__tests__/feature.test.ts
+++ b/frontend/src/components/data-table/cell-selection/__tests__/feature.test.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import type { Cell, Column, Row, Table } from "@tanstack/react-table";
import { describe, expect, it, vi } from "vitest";
diff --git a/frontend/src/components/data-table/cell-selection/types.ts b/frontend/src/components/data-table/cell-selection/types.ts
index c64509edd8..c316c6cfae 100644
--- a/frontend/src/components/data-table/cell-selection/types.ts
+++ b/frontend/src/components/data-table/cell-selection/types.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-empty-interface */
+/* oxlint-disable typescript/no-empty-object-type */
import type { OnChangeFn, RowData, Updater } from "@tanstack/react-table";
export interface CellSelectionItem {
diff --git a/frontend/src/components/data-table/cell-styling/types.ts b/frontend/src/components/data-table/cell-styling/types.ts
index 4c43d86cdf..6a0cf89f4e 100644
--- a/frontend/src/components/data-table/cell-styling/types.ts
+++ b/frontend/src/components/data-table/cell-styling/types.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-empty-interface */
+/* oxlint-disable typescript/no-empty-object-type */
import type { RowData } from "@tanstack/react-table";
export type CellStyleState = Record<
diff --git a/frontend/src/components/data-table/charts/chart-spec/altair-generator.ts b/frontend/src/components/data-table/charts/chart-spec/altair-generator.ts
index 3cacb99a93..1214cd492f 100644
--- a/frontend/src/components/data-table/charts/chart-spec/altair-generator.ts
+++ b/frontend/src/components/data-table/charts/chart-spec/altair-generator.ts
@@ -78,7 +78,7 @@ export function generateAltairChart(
if (encodings?.tooltip) {
const tooltip = encodings.tooltip;
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
const makeTooltip = (t: Record<string, any>) => {
const kwargs = makeKwargs(t);
return new FunctionCall("alt.Tooltip", kwargs);
@@ -149,7 +149,7 @@ ${variableName}
`.trim();
}
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
+// oxlint-disable-next-line typescript/no-explicit-any
function makeKwargs<T extends Record<string, any>>(obj: T) {
const result: Record<string, PythonCode> = {};
diff --git a/frontend/src/components/data-table/column-formatting/types.ts b/frontend/src/components/data-table/column-formatting/types.ts
index 2c2d086797..3dc46c2c11 100644
--- a/frontend/src/components/data-table/column-formatting/types.ts
+++ b/frontend/src/components/data-table/column-formatting/types.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-empty-interface */
+/* oxlint-disable typescript/no-empty-object-type */
import type { OnChangeFn, RowData } from "@tanstack/react-table";
import type { DataType } from "@/core/kernel/messages";
@@ -38,7 +38,7 @@ export interface ColumnFormattingInstance {
setColumnFormatting: (value?: FormatOption) => void;
getColumnFormatting?: () => FormatOption | undefined;
getCanFormat?: () => boolean;
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
applyColumnFormatting: (value: any) => any;
}
diff --git a/frontend/src/components/data-table/column-summary/legacy-chart-spec.ts b/frontend/src/components/data-table/column-summary/legacy-chart-spec.ts
index 2c2bf856d6..e6a2ba668b 100644
--- a/frontend/src/components/data-table/column-summary/legacy-chart-spec.ts
+++ b/frontend/src/components/data-table/column-summary/legacy-chart-spec.ts
@@ -282,7 +282,7 @@ export function getDataSpecAndSourceName<T>(data: string | T[]): {
const base64 = extractBase64FromDataURL(data);
const decoded = window.atob(base64);
- // eslint-disable-next-line unicorn/prefer-ternary
+ // oxlint-disable-next-line unicorn/prefer-ternary
if (decoded.startsWith(ARROW_MAGIC_NUMBER)) {
dataSpec = {
values: base64ToUint8Array(base64),
diff --git a/frontend/src/components/data-table/column-wrapping/types.ts b/frontend/src/components/data-table/column-wrapping/types.ts
index 53429fb74e..b6430cda8a 100644
--- a/frontend/src/components/data-table/column-wrapping/types.ts
+++ b/frontend/src/components/data-table/column-wrapping/types.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-empty-interface */
+/* oxlint-disable typescript/no-empty-object-type */
import type { OnChangeFn, RowData } from "@tanstack/react-table";
export type ColumnWrappingState = Record<string, "nowrap" | "wrap" | undefined>;
diff --git a/frontend/src/components/data-table/copy-column/types.ts b/frontend/src/components/data-table/copy-column/types.ts
index 53655fa6b4..77d1a3631f 100644
--- a/frontend/src/components/data-table/copy-column/types.ts
+++ b/frontend/src/components/data-table/copy-column/types.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-empty-interface */
+/* oxlint-disable typescript/no-empty-object-type */
import type { RowData } from "@tanstack/react-table";
export interface CopyColumnOptions {
diff --git a/frontend/src/components/data-table/focus-row/types.ts b/frontend/src/components/data-table/focus-row/types.ts
index b00e19899e..644fa4ac77 100644
--- a/frontend/src/components/data-table/focus-row/types.ts
+++ b/frontend/src/components/data-table/focus-row/types.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-empty-interface */
+/* oxlint-disable typescript/no-empty-object-type */
import type { OnChangeFn, RowData } from "@tanstack/react-table";
diff --git a/frontend/src/components/data-table/loading-table.tsx b/frontend/src/components/data-table/loading-table.tsx
index d1834c1c03..3f37285a3a 100644
--- a/frontend/src/components/data-table/loading-table.tsx
+++ b/frontend/src/components/data-table/loading-table.tsx
@@ -43,7 +43,7 @@ export const LoadingTable = ({
<TableBody>
{Array.from({ length: pageSize }).map((_, i) => (
<TableRow key={i}>
- {Array.from({ length: NUM_COLUMNS }).map((_, j) => (
+ {Array.from({ length: NUM_COLUMNS }).map((__, j) => (
<TableCell key={j}>
<div className="h-4 bg-(--slate-5) animate-pulse rounded-md w-[90%]" />
</TableCell>
diff --git a/frontend/src/components/data-table/range-focus/__tests__/atoms.test.ts b/frontend/src/components/data-table/range-focus/__tests__/atoms.test.ts
index 3ef2529b0f..0144cb5366 100644
--- a/frontend/src/components/data-table/range-focus/__tests__/atoms.test.ts
+++ b/frontend/src/components/data-table/range-focus/__tests__/atoms.test.ts
@@ -10,7 +10,7 @@ vi.mock("@/utils/copy", () => ({
}));
vi.mock("../utils", async (importOriginal) => {
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
const original = (await importOriginal()) as any;
return {
...original,
@@ -28,7 +28,7 @@ import {
} from "../atoms";
import { getCellsBetween, getCellValues } from "../utils";
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
+// oxlint-disable-next-line typescript/no-explicit-any
type T = any;
// Create mock table and cells
diff --git a/frontend/src/components/data-table/range-focus/atoms.ts b/frontend/src/components/data-table/range-focus/atoms.ts
index b2dcb7dafa..dc649686c1 100644
--- a/frontend/src/components/data-table/range-focus/atoms.ts
+++ b/frontend/src/components/data-table/range-focus/atoms.ts
@@ -32,9 +32,9 @@ function initialState(): CellSelectionState {
};
}
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
+// oxlint-disable-next-line typescript/no-explicit-any
type AnyTable = Table<any>;
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
+// oxlint-disable-next-line typescript/no-explicit-any
type AnyCell = Cell<any, unknown>;
const {
diff --git a/frontend/src/components/dependency-graph/dependency-graph-tree.tsx b/frontend/src/components/dependency-graph/dependency-graph-tree.tsx
index 23481a6cce..8e930817a4 100644
--- a/frontend/src/components/dependency-graph/dependency-graph-tree.tsx
+++ b/frontend/src/components/dependency-graph/dependency-graph-tree.tsx
@@ -51,7 +51,7 @@ export const DependencyGraphTree: React.FC<PropsWithChildren<Props>> = ({
layoutDirection,
settings,
}) => {
- // eslint-disable-next-line react/hook-use-state
+ // oxlint-disable-next-line react/hook-use-state
const [initial] = useState(() => {
let elements = elementsBuilder.createElements(
cellIds,
diff --git a/frontend/src/components/editor/__tests__/dynamic-favicon.test.tsx b/frontend/src/components/editor/__tests__/dynamic-favicon.test.tsx
index 63ff222cf0..3056031da8 100644
--- a/frontend/src/components/editor/__tests__/dynamic-favicon.test.tsx
+++ b/frontend/src/components/editor/__tests__/dynamic-favicon.test.tsx
@@ -176,7 +176,7 @@ describe("DynamicFavicon", () => {
const { rerender } = render(<DynamicFavicon isRunning={true} />);
rerender(<DynamicFavicon isRunning={false} />);
- // eslint-disable-next-line @typescript-eslint/unbound-method
+ // oxlint-disable-next-line typescript/unbound-method
expect(Notification.requestPermission).toHaveBeenCalled();
});
});
diff --git a/frontend/src/components/editor/ai/ai-completion-editor.tsx b/frontend/src/components/editor/ai/ai-completion-editor.tsx
index cec77d88d1..fb617a1337 100644
--- a/frontend/src/components/editor/ai/ai-completion-editor.tsx
+++ b/frontend/src/components/editor/ai/ai-completion-editor.tsx
@@ -156,7 +156,7 @@ export const AiCompletionEditor: React.FC<Props> = ({
// Use complete to pass the prompt directly, else input might be empty
complete(initialPrompt);
}
- // eslint-disable-next-line react-hooks/exhaustive-deps
+ // oxlint-disable-next-line react-hooks/exhaustive-deps
}, [triggerImmediately]);
// Focus the input
diff --git a/frontend/src/components/editor/app-container.tsx b/frontend/src/components/editor/app-container.tsx
index 362a096240..a50a915681 100644
--- a/frontend/src/components/editor/app-container.tsx
+++ b/frontend/src/components/editor/app-container.tsx
@@ -31,7 +31,7 @@ export const AppContainer: React.FC<PropsWithChildren<Props>> = ({
<StatusOverlay connection={connection} isRunning={isRunning} />
<PyodideLoader>
<WrappedWithSidebar>
- {/** biome-ignore lint/correctness/useUniqueElementIds: ID is used by other components to grab the DOM element */}
+ {/** oxlint-ignore-next-line -- ID is used by other components to grab the DOM element */}
<div
id="App"
data-config-width={width}
diff --git a/frontend/src/components/editor/chrome/panels/empty-state.tsx b/frontend/src/components/editor/chrome/panels/empty-state.tsx
index 94d901647b..dd195f0605 100644
--- a/frontend/src/components/editor/chrome/panels/empty-state.tsx
+++ b/frontend/src/components/editor/chrome/panels/empty-state.tsx
@@ -18,6 +18,7 @@ export const PanelEmptyState = ({
<div className="mx-6 my-6 flex flex-col gap-2">
<div className="flex flex-row gap-2 items-center">
{icon &&
+ // oxlint-disable-next-line react/no-clone-element
React.cloneElement(icon, {
className: "text-accent-foreground flex-shrink-0",
})}
diff --git a/frontend/src/components/editor/controls/keyboard-shortcuts.tsx b/frontend/src/components/editor/controls/keyboard-shortcuts.tsx
index c3b4b4c3b6..0090e39f28 100644
--- a/frontend/src/components/editor/controls/keyboard-shortcuts.tsx
+++ b/frontend/src/components/editor/controls/keyboard-shortcuts.tsx
@@ -90,7 +90,7 @@ export const KeyboardShortcuts: React.FC = () => {
},
};
- // eslint-disable-next-line @typescript-eslint/no-dynamic-delete
+ // oxlint-disable-next-line typescript/no-dynamic-delete
delete newConfig.keymap.overrides[editingShortcut];
setEditingShortcut(null);
diff --git a/frontend/src/components/editor/navigation/__tests__/navigation.test.ts b/frontend/src/components/editor/navigation/__tests__/navigation.test.ts
index 9b892ad9d8..abe8ba6ed1 100644
--- a/frontend/src/components/editor/navigation/__tests__/navigation.test.ts
+++ b/frontend/src/components/editor/navigation/__tests__/navigation.test.ts
@@ -134,7 +134,7 @@ const mockRequestClient = MockRequestClient.create();
// Helper to setup selection
const setupSelection = () => {
const { reducer, cellSelectionAtom } = selectionTesting;
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
const dispatch = (action: any) => {
store.set(cellSelectionAtom, (prev: CellSelectionState) =>
reducer(prev, action),
diff --git a/frontend/src/components/editor/navigation/navigation.ts b/frontend/src/components/editor/navigation/navigation.ts
index 4e23446527..be8fbb33a2 100644
--- a/frontend/src/components/editor/navigation/navigation.ts
+++ b/frontend/src/components/editor/navigation/navigation.ts
@@ -614,7 +614,7 @@ export function useCellNavigationProps(
if (isShortcutPressed(shortcut as HotkeyAction, evt)) {
// If the handler is a function, it's a single-cell handler
// and we only operate on the currently focused cell.
- if (handler instanceof Function) {
+ if (typeof handler === "function") {
const success = handler(cellId);
if (success) {
evt.preventDefault();
diff --git a/frontend/src/components/editor/notebook-cell.tsx b/frontend/src/components/editor/notebook-cell.tsx
index fca5e0f1f8..d4c4231c16 100644
--- a/frontend/src/components/editor/notebook-cell.tsx
+++ b/frontend/src/components/editor/notebook-cell.tsx
@@ -704,7 +704,7 @@ const EditableCellComponent = ({
<a
href="https://links.marimo.app/reusable-definitions"
target="_blank"
- rel="noopener"
+ rel="noreferrer"
>
<SquareFunctionIcon
size={16}
diff --git a/frontend/src/components/editor/output/JsonOutput.tsx b/frontend/src/components/editor/output/JsonOutput.tsx
index f171d3dd55..4dd2e5c19f 100644
--- a/frontend/src/components/editor/output/JsonOutput.tsx
+++ b/frontend/src/components/editor/output/JsonOutput.tsx
@@ -46,7 +46,7 @@ interface Props {
valueTypes?: "json" | "python";
}
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
+// oxlint-disable-next-line typescript/no-explicit-any
const CopyButton: React.FC<DataItemProps<any>> = ({ value }) => {
const skipCopy =
typeof value === "string" &&
@@ -83,13 +83,13 @@ const CopyButton: React.FC<DataItemProps<any>> = ({ value }) => {
);
};
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
+// oxlint-disable-next-line typescript/no-explicit-any
const JSONCopyButton: React.FC<DataItemProps<any>> = (props) => {
// if
return <CopyButton {...props} value={JSON.stringify(props.value, null, 2)} />;
};
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
+// oxlint-disable-next-line typescript/no-explicit-any
const PyCopyButton: React.FC<DataItemProps<any>> = (props) => {
return <CopyButton {...props} value={getCopyValue(props.value)} />;
};
@@ -233,7 +233,7 @@ const LEAF_RENDERERS: Record<string, LeafRenderer> = {
},
};
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
+// oxlint-disable-next-line typescript/no-explicit-any
const MIME_TYPES: DataType<any>[] = Object.entries(LEAF_RENDERERS).map(
([leafType, render]) => ({
is: (value) => typeof value === "string" && value.startsWith(leafType),
diff --git a/frontend/src/components/editor/output/ansi-reduce.ts b/frontend/src/components/editor/output/ansi-reduce.ts
index 523056f71e..a23fb56543 100644
--- a/frontend/src/components/editor/output/ansi-reduce.ts
+++ b/frontend/src/components/editor/output/ansi-reduce.ts
@@ -13,7 +13,7 @@ export interface Cursor {
export class TerminalBuffer {
private lines: string[] = [""];
private cursor: Cursor = { row: 0, col: 0 };
- // biome-ignore lint/suspicious/noControlCharactersInRegex: Needed for ANSI parsing
+ // oxlint-ignore-next-line no-control-regex -- Needed for ANSI escape sequence parsing
private static readonly ESCAPE_REGEX = /\u001B\[([0-9;]*)([A-DJKH])/u;
/** Ensure the internal lines array is large enough. */
@@ -185,7 +185,7 @@ export class TerminalBuffer {
*/
export class AnsiParser {
// Matches both CSI sequences (ESC[...letter) and other escape sequences like character set selection (ESC(B)
- // biome-ignore lint/suspicious/noControlCharactersInRegex: Needed for ANSI parsing
+ // oxlint-ignore-next-line no-control-regex -- Needed for ANSI parsing
private ESC_REGEX = /\u001B(?:\[[0-9;]*[A-Za-z]|\([0-9A-Za-z])/gu;
parse(input: string): { type: "text" | "escape"; value: string }[] {
diff --git a/frontend/src/components/editor/output/console/ConsoleOutput.tsx b/frontend/src/components/editor/output/console/ConsoleOutput.tsx
index 3c3c6b8b1c..7c2bb25679 100644
--- a/frontend/src/components/editor/output/console/ConsoleOutput.tsx
+++ b/frontend/src/components/editor/output/console/ConsoleOutput.tsx
@@ -234,7 +234,7 @@ const ConsoleOutputInternal = (props: Props): React.ReactNode => {
data-testid="console-output-area"
ref={ref}
{...selectAllProps}
- // biome-ignore lint/a11y/noNoninteractiveTabindex: Needed to capture keypress events
+ // oxlint-ignore-next-line jsx-a11y/no-noninteractive-tabindex -- Needed to capture keypress events
tabIndex={0}
className={cn(
"console-output-area overflow-hidden rounded-b-lg flex flex-col-reverse w-full gap-1 focus:outline-hidden",
diff --git a/frontend/src/components/editor/renderers/cells-renderer.tsx b/frontend/src/components/editor/renderers/cells-renderer.tsx
index 7719dfac03..713f3a68e2 100644
--- a/frontend/src/components/editor/renderers/cells-renderer.tsx
+++ b/frontend/src/components/editor/renderers/cells-renderer.tsx
@@ -69,7 +69,7 @@ CellsRenderer.displayName = "CellsRenderer";
interface PluginCellRendererProps extends PropsWithChildren<Props> {
appConfig: AppConfig;
mode: AppMode;
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
plugin: ICellRendererPlugin<any, any>;
layoutData: Partial<Record<LayoutType, LayoutData>>;
finalLayout: LayoutType;
diff --git a/frontend/src/components/editor/renderers/grid-layout/grid-layout.tsx b/frontend/src/components/editor/renderers/grid-layout/grid-layout.tsx
index 5bb156103e..8a90469080 100644
--- a/frontend/src/components/editor/renderers/grid-layout/grid-layout.tsx
+++ b/frontend/src/components/editor/renderers/grid-layout/grid-layout.tsx
@@ -329,7 +329,7 @@ export const GridLayoutRenderer: React.FC<Props> = ({
<div
key={cell.id}
draggable={true}
- // eslint-disable-next-line react/no-unknown-property
+ // oxlint-disable-next-line react/no-unknown-property
unselectable="on"
data-cell-id={cell.id}
// Firefox requires some kind of initialization which we can do by adding this attribute
diff --git a/frontend/src/components/editor/renderers/plugins.ts b/frontend/src/components/editor/renderers/plugins.ts
index 775b525e4b..8532a29e1a 100644
--- a/frontend/src/components/editor/renderers/plugins.ts
+++ b/frontend/src/components/editor/renderers/plugins.ts
@@ -7,7 +7,7 @@ import type { ICellRendererPlugin, LayoutType } from "./types";
import { VerticalLayoutPlugin } from "./vertical-layout/vertical-layout";
// If more renderers are added, we may want to consider lazy loading them.
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
+// oxlint-disable-next-line typescript/no-explicit-any
export const cellRendererPlugins: ICellRendererPlugin<any, any>[] = [
GridLayoutPlugin,
SlidesLayoutPlugin,
diff --git a/frontend/src/components/editor/renderers/slides-layout/types.ts b/frontend/src/components/editor/renderers/slides-layout/types.ts
index be1837e733..1bfefdbb21 100644
--- a/frontend/src/components/editor/renderers/slides-layout/types.ts
+++ b/frontend/src/components/editor/renderers/slides-layout/types.ts
@@ -1,11 +1,11 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-empty-interface */
+/* oxlint-disable typescript/no-empty-object-type */
/**
* The serialized form of a slides layout.
* This must be backwards-compatible as it is stored on the user's disk.
*/
-// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
+// oxlint-disable-next-line typescript/consistent-type-definitions
export type SerializedSlidesLayout = {};
export interface SlidesLayout extends SerializedSlidesLayout {
diff --git a/frontend/src/components/editor/renderers/vertical-layout/__tests__/useFocusFirstEditor.test.ts b/frontend/src/components/editor/renderers/vertical-layout/__tests__/useFocusFirstEditor.test.ts
index a72eac31bf..a0eca82d2e 100644
--- a/frontend/src/components/editor/renderers/vertical-layout/__tests__/useFocusFirstEditor.test.ts
+++ b/frontend/src/components/editor/renderers/vertical-layout/__tests__/useFocusFirstEditor.test.ts
@@ -110,9 +110,9 @@ describe("useFocusFirstEditor", () => {
expect(querySelectorSpy).toHaveBeenCalledWith(
'[data-cell-name="testCell"]',
);
- // eslint-disable-next-line @typescript-eslint/unbound-method
+ // oxlint-disable-next-line typescript/unbound-method
expect(mockElement.scrollIntoView).toHaveBeenCalled();
- // eslint-disable-next-line @typescript-eslint/unbound-method
+ // oxlint-disable-next-line typescript/unbound-method
expect(mockElement.focus).toHaveBeenCalled();
expect(mockEditor.focus).toHaveBeenCalled();
diff --git a/frontend/src/components/editor/renderers/vertical-layout/__tests__/vertical-layout.test.ts b/frontend/src/components/editor/renderers/vertical-layout/__tests__/vertical-layout.test.ts
index 77e05dbf95..2dfe285ac6 100644
--- a/frontend/src/components/editor/renderers/vertical-layout/__tests__/vertical-layout.test.ts
+++ b/frontend/src/components/editor/renderers/vertical-layout/__tests__/vertical-layout.test.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import { describe, expect, it } from "vitest";
import type { OutputMessage } from "@/core/kernel/messages";
import { groupCellsByColumn, shouldHideCode } from "../vertical-layout";
diff --git a/frontend/src/components/find-replace/find-replace.tsx b/frontend/src/components/find-replace/find-replace.tsx
index 4913f50e87..b12d0b6fb4 100644
--- a/frontend/src/components/find-replace/find-replace.tsx
+++ b/frontend/src/components/find-replace/find-replace.tsx
@@ -221,7 +221,9 @@ export const FindReplace: React.FC = () => {
variant="outline"
className="h-6 text-xs"
onClick={() => {
- replaceNext() && resetMatches();
+ if (replaceNext()) {
+ resetMatches();
+ }
}}
disabled={state.findText === ""}
>
diff --git a/frontend/src/components/forms/form.tsx b/frontend/src/components/forms/form.tsx
index df1e976e7d..1d0fc269d6 100644
--- a/frontend/src/components/forms/form.tsx
+++ b/frontend/src/components/forms/form.tsx
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import { PlusIcon, RefreshCcw, Trash2Icon } from "lucide-react";
import React from "react";
diff --git a/frontend/src/components/forms/options.ts b/frontend/src/components/forms/options.ts
index 33046cb796..3d1c70d718 100644
--- a/frontend/src/components/forms/options.ts
+++ b/frontend/src/components/forms/options.ts
@@ -35,7 +35,7 @@ export interface FieldOptions {
optionRegex?: string;
}
-// eslint-disable-next-line @typescript-eslint/no-redeclare
+// oxlint-disable-next-line typescript/no-redeclare
export const FieldOptions = {
of(options: FieldOptions): string {
return JSON.stringify(options);
diff --git a/frontend/src/components/static-html/static-banner.tsx b/frontend/src/components/static-html/static-banner.tsx
index 7b22f1d066..1e9057c935 100644
--- a/frontend/src/components/static-html/static-banner.tsx
+++ b/frontend/src/components/static-html/static-banner.tsx
@@ -1,6 +1,6 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable react/jsx-no-comment-textnodes */
-/* eslint-disable react/jsx-no-target-blank */
+/* oxlint-disable react/jsx-no-comment-textnodes */
+/* oxlint-disable react/jsx-no-target-blank */
import { useAtomValue } from "jotai";
import { CopyIcon, DownloadIcon } from "lucide-react";
diff --git a/frontend/src/components/terminal/terminal.tsx b/frontend/src/components/terminal/terminal.tsx
index d7c843af55..6df070193b 100644
--- a/frontend/src/components/terminal/terminal.tsx
+++ b/frontend/src/components/terminal/terminal.tsx
@@ -143,7 +143,7 @@ const TerminalComponent: React.FC<TerminalComponentProps> = ({
const terminalRef = useRef<HTMLDivElement>(null);
const wsRef = useRef<WebSocket | null>(null);
- // eslint-disable-next-line react/hook-use-state
+ // oxlint-disable-next-line react/hook-use-state
const [{ terminal, fitAddon, searchAddon }] = useState(() => {
// Create a new terminal instance
const term = new Terminal({
@@ -300,7 +300,7 @@ const TerminalComponent: React.FC<TerminalComponentProps> = ({
return () => {
// noop
};
- // eslint-disable-next-line react-hooks/exhaustive-deps
+ // oxlint-disable-next-line react-hooks/exhaustive-deps
}, [initialized]);
// Process pending commands when terminal is ready
@@ -335,7 +335,7 @@ const TerminalComponent: React.FC<TerminalComponentProps> = ({
}
return;
- // eslint-disable-next-line react-hooks/exhaustive-deps
+ // oxlint-disable-next-line react-hooks/exhaustive-deps
}, [visible]);
// On mount
@@ -373,7 +373,7 @@ const TerminalComponent: React.FC<TerminalComponentProps> = ({
return () => {
abortController.abort();
};
- // eslint-disable-next-line react-hooks/exhaustive-deps
+ // oxlint-disable-next-line react-hooks/exhaustive-deps
}, []);
return (
diff --git a/frontend/src/components/ui/button.tsx b/frontend/src/components/ui/button.tsx
index e31a99c208..efeee61787 100644
--- a/frontend/src/components/ui/button.tsx
+++ b/frontend/src/components/ui/button.tsx
@@ -108,7 +108,7 @@ const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
React.useImperativeHandle(
ref,
- // eslint-disable-next-line @typescript-eslint/non-nullable-type-assertion-style
+ // oxlint-disable-next-line typescript/non-nullable-type-assertion-style
() => buttonRef.current as HTMLButtonElement,
);
diff --git a/frontend/src/components/ui/command.tsx b/frontend/src/components/ui/command.tsx
index d78ac5bab6..e6717ae899 100644
--- a/frontend/src/components/ui/command.tsx
+++ b/frontend/src/components/ui/command.tsx
@@ -61,7 +61,7 @@ const CommandInput = React.forwardRef<
>(({ className, icon, rootClassName, ...props }, ref) => (
<div
className={cn("flex items-center border-b px-3", rootClassName)}
- // eslint-disable-next-line react/no-unknown-property
+ // oxlint-disable-next-line react/no-unknown-property
cmdk-input-wrapper=""
>
{icon === null ? null : (
diff --git a/frontend/src/core/ai/context/providers/__tests__/datasource.test.ts b/frontend/src/core/ai/context/providers/__tests__/datasource.test.ts
index e32b3021a6..e9ab5d1b74 100644
--- a/frontend/src/core/ai/context/providers/__tests__/datasource.test.ts
+++ b/frontend/src/core/ai/context/providers/__tests__/datasource.test.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import { beforeEach, describe, expect, it } from "vitest";
import { cellId, variableName } from "@/__tests__/branded";
diff --git a/frontend/src/core/ai/context/providers/__tests__/error.test.ts b/frontend/src/core/ai/context/providers/__tests__/error.test.ts
index 6ad68ad5e1..8a3e43e870 100644
--- a/frontend/src/core/ai/context/providers/__tests__/error.test.ts
+++ b/frontend/src/core/ai/context/providers/__tests__/error.test.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import { createStore } from "jotai";
import { beforeEach, describe, expect, it } from "vitest";
diff --git a/frontend/src/core/ai/context/providers/__tests__/variable.test.ts b/frontend/src/core/ai/context/providers/__tests__/variable.test.ts
index 85c9a29abe..3346efeb3f 100644
--- a/frontend/src/core/ai/context/providers/__tests__/variable.test.ts
+++ b/frontend/src/core/ai/context/providers/__tests__/variable.test.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import { describe, expect, it, vi } from "vitest";
import { cellId, variableName } from "@/__tests__/branded";
diff --git a/frontend/src/core/ai/context/registry.ts b/frontend/src/core/ai/context/registry.ts
index b74a19e0df..67ce5f4d7d 100644
--- a/frontend/src/core/ai/context/registry.ts
+++ b/frontend/src/core/ai/context/registry.ts
@@ -98,7 +98,7 @@ export abstract class AIContextProvider<
* Registry for managing different AI context providers
*/
export class AIContextRegistry<T extends AIContextItem> {
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
private providers = new Set<AIContextProvider<any>>();
/**
@@ -106,7 +106,7 @@ export class AIContextRegistry<T extends AIContextItem> {
*/
register<U extends AIContextItem>(
provider: AIContextProvider<U>,
- // eslint-disable-next-line @typescript-eslint/prefer-return-this-type
+ // oxlint-disable-next-line typescript/prefer-return-this-type
): AIContextRegistry<U | T> {
this.providers.add(provider);
return this;
diff --git a/frontend/src/core/ai/tools/registry.ts b/frontend/src/core/ai/tools/registry.ts
index 2c4f018ca5..56a09a6dd1 100644
--- a/frontend/src/core/ai/tools/registry.ts
+++ b/frontend/src/core/ai/tools/registry.ts
@@ -14,7 +14,7 @@ import { formatToolDescription } from "./utils";
export type AnyZodObject = ZodObject<z.ZodRawShape>;
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
+// oxlint-disable-next-line typescript/no-explicit-any
type StoredTool = AiTool<any, any>;
interface InvokeResult<TName> {
diff --git a/frontend/src/core/cells/__tests__/cells.test.ts b/frontend/src/core/cells/__tests__/cells.test.ts
index e2fc3ec146..5a11e44e56 100644
--- a/frontend/src/core/cells/__tests__/cells.test.ts
+++ b/frontend/src/core/cells/__tests__/cells.test.ts
@@ -45,7 +45,7 @@ vi.mock("@/core/codemirror/editing/commands", () => ({
vi.mock("../scrollCellIntoView", async (importOriginal) => {
const actual = await importOriginal();
return {
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
...(actual as any),
scrollToTop: vi.fn(),
scrollToBottom: vi.fn(),
@@ -1023,7 +1023,7 @@ describe("cell reducer", () => {
});
cell = cells[0];
expect(cell.status).toBe("idle");
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any no-unsafe-optional-chaining
expect((cell.output?.data as any)[0].msg).toBe(
"This cell wasn't run because an ancestor was stopped with `mo.stop`: ",
);
diff --git a/frontend/src/core/cells/__tests__/scrollCellIntoView.test.ts b/frontend/src/core/cells/__tests__/scrollCellIntoView.test.ts
index 6e16534b24..caa96d449a 100644
--- a/frontend/src/core/cells/__tests__/scrollCellIntoView.test.ts
+++ b/frontend/src/core/cells/__tests__/scrollCellIntoView.test.ts
@@ -40,7 +40,7 @@ describe("scrollCellIntoView", () => {
it("should scroll active line when editor has focus", () => {
const mockEditor = { hasFocus: true };
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
mockGetCellEditorView.mockReturnValue(mockEditor as any);
scrollCellIntoView(cid);
diff --git a/frontend/src/core/cells/__tests__/session.test.ts b/frontend/src/core/cells/__tests__/session.test.ts
index fbd6f98232..b60ce173f1 100644
--- a/frontend/src/core/cells/__tests__/session.test.ts
+++ b/frontend/src/core/cells/__tests__/session.test.ts
@@ -1,7 +1,7 @@
/* Copyright 2026 Marimo. All rights reserved. */
import type * as api from "@marimo-team/marimo-api";
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import { beforeEach, describe, expect, it, vi } from "vitest";
import { Mocks } from "@/__mocks__/common";
import { cellId } from "@/__tests__/branded";
diff --git a/frontend/src/core/cells/__tests__/utils.test.ts b/frontend/src/core/cells/__tests__/utils.test.ts
index 65623e61f1..678ac3870d 100644
--- a/frontend/src/core/cells/__tests__/utils.test.ts
+++ b/frontend/src/core/cells/__tests__/utils.test.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import { describe, expect, it } from "vitest";
import {
getCellConfigs,
diff --git a/frontend/src/core/cells/cells.ts b/frontend/src/core/cells/cells.ts
index 8a32fd8466..07736244c9 100644
--- a/frontend/src/core/cells/cells.ts
+++ b/frontend/src/core/cells/cells.ts
@@ -80,7 +80,7 @@ export interface NotebookState {
*/
history: {
name: string;
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
serializedEditorState: any;
column: CellColumnId;
index: CellIndex;
diff --git a/frontend/src/core/cells/ids.ts b/frontend/src/core/cells/ids.ts
index 090c37ce14..9a7de27c7d 100644
--- a/frontend/src/core/cells/ids.ts
+++ b/frontend/src/core/cells/ids.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-redeclare */
+/* oxlint-disable typescript/no-redeclare */
import type { components } from "@marimo-team/marimo-api";
import { OBJECT_ID_ATTR } from "@/core/dom/ui-element-constants";
diff --git a/frontend/src/core/codemirror/ai/request.ts b/frontend/src/core/codemirror/ai/request.ts
index 6ce895d58d..02978609f8 100644
--- a/frontend/src/core/codemirror/ai/request.ts
+++ b/frontend/src/core/codemirror/ai/request.ts
@@ -53,7 +53,7 @@ ${opts.codeAfter}
}
let result = "";
- // eslint-disable-next-line no-constant-condition
+ // oxlint-disable-next-line no-constant-condition
while (true) {
const { done, value } = await reader.read();
if (done) {
diff --git a/frontend/src/core/codemirror/copilot/__tests__/language-server.test.ts b/frontend/src/core/codemirror/copilot/__tests__/language-server.test.ts
index 8a54d56e74..24e8d0b857 100644
--- a/frontend/src/core/codemirror/copilot/__tests__/language-server.test.ts
+++ b/frontend/src/core/codemirror/copilot/__tests__/language-server.test.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import { Transport } from "@open-rpc/client-js/build/transports/Transport";
import { beforeEach, describe, expect, it, vi } from "vitest";
diff --git a/frontend/src/core/codemirror/copilot/__tests__/transport.test.ts b/frontend/src/core/codemirror/copilot/__tests__/transport.test.ts
index 7034e50bcc..6a0a33138b 100644
--- a/frontend/src/core/codemirror/copilot/__tests__/transport.test.ts
+++ b/frontend/src/core/codemirror/copilot/__tests__/transport.test.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import { WebSocketTransport } from "@open-rpc/client-js";
import { beforeEach, describe, expect, it, vi } from "vitest";
diff --git a/frontend/src/core/codemirror/copilot/language-server.ts b/frontend/src/core/codemirror/copilot/language-server.ts
index 40c56b6fc9..f4152ad13b 100644
--- a/frontend/src/core/codemirror/copilot/language-server.ts
+++ b/frontend/src/core/codemirror/copilot/language-server.ts
@@ -121,7 +121,7 @@ export class CopilotLanguageServerClient extends LanguageServerClient {
).request(method, params);
}
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
override async notify(method: any, params: any): Promise<any> {
logger.debug("#notify", method, params);
return super.notify(method, params);
diff --git a/frontend/src/core/codemirror/copilot/types.ts b/frontend/src/core/codemirror/copilot/types.ts
index 118da55efb..c377a0fc5f 100644
--- a/frontend/src/core/codemirror/copilot/types.ts
+++ b/frontend/src/core/codemirror/copilot/types.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-empty-interface */
+/* oxlint-disable typescript/no-empty-object-type */
export interface GitHubCopilotSignInInitiateResult {
verificationUri: string; // https://github.com/login/device
diff --git a/frontend/src/core/codemirror/facet.ts b/frontend/src/core/codemirror/facet.ts
index 8943a7b5e7..d70a553216 100644
--- a/frontend/src/core/codemirror/facet.ts
+++ b/frontend/src/core/codemirror/facet.ts
@@ -15,7 +15,7 @@ import { Facet } from "@codemirror/state";
export function singleFacet<T>() {
return Facet.define<T, T>({
combine: (values) => {
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
+ // oxlint-disable-next-line typescript/no-non-null-assertion
return values.find((v) => v !== undefined)!;
},
});
diff --git a/frontend/src/core/codemirror/language/__tests__/sql.test.ts b/frontend/src/core/codemirror/language/__tests__/sql.test.ts
index f8ce454965..be65c20d9f 100644
--- a/frontend/src/core/codemirror/language/__tests__/sql.test.ts
+++ b/frontend/src/core/codemirror/language/__tests__/sql.test.ts
@@ -1722,9 +1722,9 @@ describe("tablesCompletionSource", () => {
};
const getCompletion = (extensions: Extension[]) => {
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
const ext = extensions.find((ext) => (ext as any).facet === undefined);
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
return (ext as any)?.value?.override?.[0];
};
@@ -2140,7 +2140,7 @@ describe("tablesCompletionSource", () => {
...mockStore.get(dataSourceConnectionsAtom),
connectionsMap: new Map([
[TEST_ENGINE, newConnection],
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
]) as any,
latestEngineSelected: TEST_ENGINE,
});
@@ -2153,7 +2153,7 @@ describe("tablesCompletionSource", () => {
mockStore.set(dataSourceConnectionsAtom, {
connectionsMap: new Map([
[TEST_ENGINE, mockConnection],
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
]) as any,
latestEngineSelected: TEST_ENGINE,
});
diff --git a/frontend/src/core/codemirror/language/languages/sql/completion-builder.ts b/frontend/src/core/codemirror/language/languages/sql/completion-builder.ts
index 17a69a5a09..486a3585c1 100644
--- a/frontend/src/core/codemirror/language/languages/sql/completion-builder.ts
+++ b/frontend/src/core/codemirror/language/languages/sql/completion-builder.ts
@@ -76,7 +76,7 @@ export class CompletionBuilder {
* Set a value at a nested path, creating intermediate objects as needed
*/
private setAt(path: string[], value: SQLNamespace): void {
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
let current: any = this.schema;
for (const key of path.slice(0, -1)) {
if (!current[key]) {
diff --git a/frontend/src/core/codemirror/language/metadata.ts b/frontend/src/core/codemirror/language/metadata.ts
index fc0eab73aa..78c7aa9383 100644
--- a/frontend/src/core/codemirror/language/metadata.ts
+++ b/frontend/src/core/codemirror/language/metadata.ts
@@ -5,7 +5,7 @@ import type { EditorView } from "@codemirror/view";
/**
* Metadata for language adapters
*/
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
+// oxlint-disable-next-line typescript/no-explicit-any
export type LanguageMetadata = Record<string, any>;
/**
diff --git a/frontend/src/core/codemirror/language/types.ts b/frontend/src/core/codemirror/language/types.ts
index 7e1cb03ade..f54145cd5a 100644
--- a/frontend/src/core/codemirror/language/types.ts
+++ b/frontend/src/core/codemirror/language/types.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import type { Extension } from "@codemirror/state";
import type { CellId } from "@/core/cells/ids";
diff --git a/frontend/src/core/codemirror/lsp/__tests__/notebook-lsp.test.ts b/frontend/src/core/codemirror/lsp/__tests__/notebook-lsp.test.ts
index 4a131a9f3f..c1d86cc68b 100644
--- a/frontend/src/core/codemirror/lsp/__tests__/notebook-lsp.test.ts
+++ b/frontend/src/core/codemirror/lsp/__tests__/notebook-lsp.test.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import { EditorView } from "@codemirror/view";
import {
diff --git a/frontend/src/core/codemirror/lsp/notebook-lsp.ts b/frontend/src/core/codemirror/lsp/notebook-lsp.ts
index 6a3de1949e..6f1cf5c186 100644
--- a/frontend/src/core/codemirror/lsp/notebook-lsp.ts
+++ b/frontend/src/core/codemirror/lsp/notebook-lsp.ts
@@ -815,7 +815,7 @@ export class NotebookLanguageServerClient implements ILanguageServerClient {
...diag,
range: lens.reverseRange(diag.range, cellId),
};
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
+ // oxlint-disable-next-line typescript/no-non-null-assertion
diagnosticsByCellId.get(cellId)!.push(cellDiag);
break; // Exit inner loop once we find the matching cell
}
diff --git a/frontend/src/core/codemirror/misc/__tests__/dnd.test.ts b/frontend/src/core/codemirror/misc/__tests__/dnd.test.ts
index 128b7862f6..a02ec9d78a 100644
--- a/frontend/src/core/codemirror/misc/__tests__/dnd.test.ts
+++ b/frontend/src/core/codemirror/misc/__tests__/dnd.test.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import { EditorView } from "@codemirror/view";
import { afterEach, beforeEach, describe, expect, it } from "vitest";
import { dndBundle } from "../dnd";
diff --git a/frontend/src/core/codemirror/rtc/loro/awareness.ts b/frontend/src/core/codemirror/rtc/loro/awareness.ts
index a3694b592f..0fedc467af 100644
--- a/frontend/src/core/codemirror/rtc/loro/awareness.ts
+++ b/frontend/src/core/codemirror/rtc/loro/awareness.ts
@@ -185,7 +185,7 @@ export const createSelectionLayer = (): Extension =>
.flatMap(([, state]) => {
const selectionRange = EditorSelection.range(
state.cursor.anchor,
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
+ // oxlint-disable-next-line typescript/no-non-null-assertion
state.cursor.head!,
);
const markers = RectangleMarker.forRange(
diff --git a/frontend/src/core/config/feature-flag.tsx b/frontend/src/core/config/feature-flag.tsx
index 8e48abdc2d..8715a16c1b 100644
--- a/frontend/src/core/config/feature-flag.tsx
+++ b/frontend/src/core/config/feature-flag.tsx
@@ -4,7 +4,7 @@ import { repl } from "@/utils/repl";
import { getRequestClient } from "../network/requests";
import { getResolvedMarimoConfig } from "./config";
-// eslint-disable-next-line @typescript-eslint/no-empty-interface
+// oxlint-disable-next-line typescript/no-empty-object-type
export interface ExperimentalFeatures {
markdown: boolean; // Used in playground (community cloud)
wasm_layouts: boolean; // Used in playground (community cloud)
diff --git a/frontend/src/core/dom/outline.ts b/frontend/src/core/dom/outline.ts
index 6765107a5e..7821e18c36 100644
--- a/frontend/src/core/dom/outline.ts
+++ b/frontend/src/core/dom/outline.ts
@@ -39,7 +39,7 @@ function getOutline(html: string): Outline | null {
const document = parser.parseFromString(html, "text/html");
const headings = document.querySelectorAll(HEADER_TAGS);
- // eslint-disable-next-line unicorn/prefer-spread
+ // oxlint-disable-next-line unicorn/prefer-spread
for (const heading of Array.from(headings)) {
const name = heading.textContent;
// Check if the heading is within any of the excluded tags
diff --git a/frontend/src/core/export/__tests__/hooks.test.ts b/frontend/src/core/export/__tests__/hooks.test.ts
index 2f6d2dea89..e94abd1d2a 100644
--- a/frontend/src/core/export/__tests__/hooks.test.ts
+++ b/frontend/src/core/export/__tests__/hooks.test.ts
@@ -55,7 +55,7 @@ describe("useEnrichCellOutputs", () => {
// Helper to set the mocked atom (cast to any to work around type mismatch)
const setCellsRuntime = (value: Record<CellId, CellRuntimeState>) => {
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
store.set(cellsRuntimeAtom as any, value);
};
diff --git a/frontend/src/core/hotkeys/__tests__/hotkeys.test.ts b/frontend/src/core/hotkeys/__tests__/hotkeys.test.ts
index 591af46631..0e0c0dc96d 100644
--- a/frontend/src/core/hotkeys/__tests__/hotkeys.test.ts
+++ b/frontend/src/core/hotkeys/__tests__/hotkeys.test.ts
@@ -15,7 +15,7 @@ function createHotkeys(
keys: Partial<Record<HotkeyAction, Hotkey>>,
): Record<HotkeyAction, Hotkey> {
return new Proxy(keys as Record<HotkeyAction, Hotkey>, {
- // biome-ignore lint: ok to have three arguments here (It's a web API)
+ // oxlint-ignore-next-line -- ok to have three arguments here (It's a web API)
get(target, p, receiver) {
const key = Reflect.get(target, p, receiver);
if (key === "undefined") {
diff --git a/frontend/src/core/hotkeys/shortcuts.ts b/frontend/src/core/hotkeys/shortcuts.ts
index dd5b909645..2ae16192b8 100644
--- a/frontend/src/core/hotkeys/shortcuts.ts
+++ b/frontend/src/core/hotkeys/shortcuts.ts
@@ -73,7 +73,7 @@ function areKeysPressed(keys: string[], e: IKeyboardEvent): boolean {
// - US keyboards: "&"
// - Some layouts: "7"
// Using e.code (physical key) instead of e.key (produced character)
- // eslint-disable-next-line unicorn/prefer-ternary
+ // oxlint-disable-next-line unicorn/prefer-ternary
if (/^\d$/.test(key) && e.shiftKey) {
satisfied &&= e.code === `Digit${key}`;
} else {
diff --git a/frontend/src/core/islands/__tests__/bridge.test.ts b/frontend/src/core/islands/__tests__/bridge.test.ts
index 76b880affe..0dc11ab3ad 100644
--- a/frontend/src/core/islands/__tests__/bridge.test.ts
+++ b/frontend/src/core/islands/__tests__/bridge.test.ts
@@ -84,7 +84,7 @@ describe("IslandsPyodideBridge", () => {
beforeEach(() => {
vi.clearAllMocks();
// Reset the singleton by clearing the window property
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
delete (window as any)._marimo_private_IslandsPyodideBridge;
// Access the singleton - creates a fresh instance
bridge = IslandsPyodideBridge.INSTANCE;
@@ -92,7 +92,7 @@ describe("IslandsPyodideBridge", () => {
afterEach(() => {
// Clean up singleton
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
delete (window as any)._marimo_private_IslandsPyodideBridge;
});
diff --git a/frontend/src/core/islands/bridge.ts b/frontend/src/core/islands/bridge.ts
index e7e77b0d6e..e08c69c672 100644
--- a/frontend/src/core/islands/bridge.ts
+++ b/frontend/src/core/islands/bridge.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import { getWorkerRPC } from "@/core/wasm/rpc";
import { Deferred } from "@/utils/Deferred";
@@ -47,7 +47,7 @@ export class IslandsPyodideBridge implements RunRequests, EditRequests {
const blob = new Blob([js], { type: "application/javascript" });
const objURL = URL.createObjectURL(blob);
const worker = new Worker(
- // eslint-disable-next-line unicorn/relative-url-style
+ // oxlint-disable-next-line unicorn/relative-url-style
objURL,
{
type: "module",
diff --git a/frontend/src/core/islands/components/output-wrapper.tsx b/frontend/src/core/islands/components/output-wrapper.tsx
index e39b5c2865..12748ff85c 100644
--- a/frontend/src/core/islands/components/output-wrapper.tsx
+++ b/frontend/src/core/islands/components/output-wrapper.tsx
@@ -65,7 +65,7 @@ export const MarimoOutputWrapper: React.FC<Props> = ({
// Lint still wants use to have the same event listeners per instance (which
// makes sense), so noop is used.
const maybeNoop = (fn: (e: KeyboardEvent) => void) =>
- // eslint-disable-next-line @typescript-eslint/no-empty-function
+ // oxlint-disable-next-line typescript/no-empty-function
alwaysShowRun ? () => {} : fn;
useEventListener(
diff --git a/frontend/src/core/islands/parse.ts b/frontend/src/core/islands/parse.ts
index 9c3bd4f7a6..5f59f531f5 100644
--- a/frontend/src/core/islands/parse.ts
+++ b/frontend/src/core/islands/parse.ts
@@ -72,7 +72,7 @@ export function parseMarimoIslandApps(): MarimoIslandApp[] {
if (!apps.has(id)) {
apps.set(id, { id, cells: [] });
}
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
+ // oxlint-disable-next-line typescript/no-non-null-assertion
const app = apps.get(id)!;
const idx = app.cells.length;
app.cells.push({
diff --git a/frontend/src/core/lsp/__tests__/transport.test.ts b/frontend/src/core/lsp/__tests__/transport.test.ts
index a4750d27e3..df6cba6741 100644
--- a/frontend/src/core/lsp/__tests__/transport.test.ts
+++ b/frontend/src/core/lsp/__tests__/transport.test.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import { WebSocketTransport } from "@open-rpc/client-js";
import { beforeEach, describe, expect, it, vi } from "vitest";
diff --git a/frontend/src/core/network/DeferredRequestRegistry.ts b/frontend/src/core/network/DeferredRequestRegistry.ts
index 7cb51c5ebb..625be8f77e 100644
--- a/frontend/src/core/network/DeferredRequestRegistry.ts
+++ b/frontend/src/core/network/DeferredRequestRegistry.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-redeclare */
+/* oxlint-disable typescript/no-redeclare */
import type { components } from "@marimo-team/marimo-api";
import { Deferred } from "@/utils/Deferred";
import { generateUUID } from "@/utils/uuid";
diff --git a/frontend/src/core/network/__tests__/requests-network.test.ts b/frontend/src/core/network/__tests__/requests-network.test.ts
index 37b0a13a72..4ffd87e163 100644
--- a/frontend/src/core/network/__tests__/requests-network.test.ts
+++ b/frontend/src/core/network/__tests__/requests-network.test.ts
@@ -1,6 +1,6 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import { beforeEach, describe, expect, it, vi } from "vitest";
import * as apiModule from "../api";
diff --git a/frontend/src/core/network/api.ts b/frontend/src/core/network/api.ts
index 188c137457..d64d5a13b7 100644
--- a/frontend/src/core/network/api.ts
+++ b/frontend/src/core/network/api.ts
@@ -108,7 +108,7 @@ export const API = {
response: Response;
}): Promise<T> => {
if (response.error) {
- // eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors
+ // oxlint-disable-next-line typescript/prefer-promise-reject-errors
return Promise.reject(response.error);
}
return Promise.resolve(response.data as T);
@@ -118,7 +118,7 @@ export const API = {
response: Response;
}): Promise<null> => {
if (response.error) {
- // eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors
+ // oxlint-disable-next-line typescript/prefer-promise-reject-errors
return Promise.reject(response.error);
}
return Promise.resolve(null);
diff --git a/frontend/src/core/network/requests-lazy.ts b/frontend/src/core/network/requests-lazy.ts
index 25adde6585..6ff8af2af8 100644
--- a/frontend/src/core/network/requests-lazy.ts
+++ b/frontend/src/core/network/requests-lazy.ts
@@ -138,7 +138,7 @@ export function createLazyRequests(
await runtimeManager.init();
});
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
function wrapRequest<T extends (...args: any[]) => Promise<any>>(
request: T,
key: keyof AllRequests,
diff --git a/frontend/src/core/network/requests-toasting.tsx b/frontend/src/core/network/requests-toasting.tsx
index 71148d765e..76b6d0c397 100644
--- a/frontend/src/core/network/requests-toasting.tsx
+++ b/frontend/src/core/network/requests-toasting.tsx
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import { useAtomValue } from "jotai";
import { Spinner } from "@/components/icons/spinner";
diff --git a/frontend/src/core/static/files.ts b/frontend/src/core/static/files.ts
index 9798c31e88..39dc14275f 100644
--- a/frontend/src/core/static/files.ts
+++ b/frontend/src/core/static/files.ts
@@ -18,7 +18,7 @@ export function patchFetch(
// Override the global fetch so when /@file/ is used, it returns the blob data
window.fetch = async (input, init) => {
- // eslint-disable-next-line @typescript-eslint/no-base-to-string
+ // oxlint-disable-next-line typescript/no-base-to-string
const urlString = input instanceof Request ? input.url : input.toString();
if (urlString.startsWith("data:")) {
diff --git a/frontend/src/core/vscode/vscode-bindings.ts b/frontend/src/core/vscode/vscode-bindings.ts
index e0ba446596..bdf82e74c2 100644
--- a/frontend/src/core/vscode/vscode-bindings.ts
+++ b/frontend/src/core/vscode/vscode-bindings.ts
@@ -6,7 +6,7 @@ import { isPlatformMac } from "../hotkeys/shortcuts";
import { isWasm } from "../wasm/utils";
export const isEmbedded =
- // eslint-disable-next-line ssr-friendly/no-dom-globals-in-module-scope
+ // oxlint-disable-next-line ssr-friendly/no-dom-globals-in-module-scope
typeof window !== "undefined" && window.parent !== window;
// To enable keyboard shortcuts of VS Code when the iframe is focused,
diff --git a/frontend/src/core/wasm/bridge.ts b/frontend/src/core/wasm/bridge.ts
index 9cd8052463..2d42f1264a 100644
--- a/frontend/src/core/wasm/bridge.ts
+++ b/frontend/src/core/wasm/bridge.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import { toast } from "@/components/ui/use-toast";
import { userConfigAtom } from "@/core/config/config";
@@ -76,7 +76,7 @@ export class PyodideBridge implements RunRequests, EditRequests {
// Create save worker
const saveWorker = new Worker(
- // eslint-disable-next-line unicorn/relative-url-style
+ // oxlint-disable-next-line unicorn/relative-url-style
new URL("./worker/save-worker.ts", import.meta.url),
{
type: "module",
@@ -96,7 +96,7 @@ export class PyodideBridge implements RunRequests, EditRequests {
// Create a worker
const worker = new Worker(
- // eslint-disable-next-line unicorn/relative-url-style
+ // oxlint-disable-next-line unicorn/relative-url-style
new URL("./worker/worker.ts", import.meta.url),
{
type: "module",
diff --git a/frontend/src/core/wasm/worker/tracer.ts b/frontend/src/core/wasm/worker/tracer.ts
index 6a37f4d535..cd617ec81a 100644
--- a/frontend/src/core/wasm/worker/tracer.ts
+++ b/frontend/src/core/wasm/worker/tracer.ts
@@ -3,5 +3,5 @@ import { Tracer } from "@/utils/tracer";
export const t = new Tracer();
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
+// oxlint-disable-next-line typescript/no-explicit-any
(globalThis as any).t = t;
diff --git a/frontend/src/core/websocket/useWebSocket.tsx b/frontend/src/core/websocket/useWebSocket.tsx
index ccdaee3d37..07d66993e0 100644
--- a/frontend/src/core/websocket/useWebSocket.tsx
+++ b/frontend/src/core/websocket/useWebSocket.tsx
@@ -49,7 +49,7 @@ function createConnectionTransport(
export function useConnectionTransport(options: UseConnectionTransportOptions) {
const { onOpen, onMessage, onClose, onError, waitToConnect } = options;
- // eslint-disable-next-line react/hook-use-state
+ // oxlint-disable-next-line react/hook-use-state
const [transport] = useState<IConnectionTransport>(() => {
const socket = createConnectionTransport(options);
@@ -83,7 +83,7 @@ export function useConnectionTransport(options: UseConnectionTransportOptions) {
transport.removeEventListener("error", onError);
transport.removeEventListener("message", onMessage);
};
- // eslint-disable-next-line react-hooks/exhaustive-deps
+ // oxlint-disable-next-line react-hooks/exhaustive-deps
}, [transport]);
return transport;
diff --git a/frontend/src/css/globals.css b/frontend/src/css/globals.css
index fd5ccd5491..1d143c604d 100644
--- a/frontend/src/css/globals.css
+++ b/frontend/src/css/globals.css
@@ -147,73 +147,49 @@
--shadow-none: none;
--shadow-xxs: 0px 0px 2px 0px var(--base-shadow-darker);
- /* biome-ignore format: definition needs to be oneline or breaks variants */
- --shadow-xs:
- 1px 1px 2px 0px var(--base-shadow),
- 0px 0px 2px 0px hsl(0deg 0% 25% / var(--base-shadow-opacity));
-
- /* biome-ignore format: definition needs to be oneline or breaks variants */
- --shadow-sm:
- 2px 2px 2px 0px var(--base-shadow),
- 0px 0px 2px 0px hsl(0deg 0% 25% / var(--base-shadow-opacity));
-
- /* biome-ignore format: definition needs to be oneline or breaks variants */
- --shadow-md:
- 4px 4px 4px 0px var(--base-shadow),
- 0 0px 4px 0px hsl(0deg 0% 60% / var(--base-shadow-opacity));
-
- /* biome-ignore format: definition needs to be oneline or breaks variants */
- --shadow-lg:
- 5px 6px 4px 0px var(--base-shadow),
- 0 0px 4px 0px hsl(0deg 0% 75% / var(--base-shadow-opacity));
-
- /* biome-ignore format: definition needs to be oneline or breaks variants */
- --shadow-xl:
- 8px 9px 4px 0px var(--base-shadow),
- 0 0px 6px 0px hsl(0deg 0% 85% / var(--base-shadow-opacity));
-
- /* biome-ignore format: definition needs to be oneline or breaks variants */
- --shadow-2xl:
- 10px 12px 10px 0px var(--base-shadow),
- 0 0px 8px 0px hsl(0deg 0% 90% / var(--base-shadow-opacity));
-
- /* biome-ignore format: definition needs to be oneline or breaks variants */
- --shadow-xs-solid:
- 1px 1px 0px 0px var(--base-shadow-darker),
- 0px 0px 2px 0px hsl(0deg 0% 50% / 20%);
-
- /* biome-ignore format: definition needs to be oneline or breaks variants */
- --shadow-sm-solid:
- 2px 2px 0px 0px var(--base-shadow-darker),
- 0px 0px 2px 0px hsl(0deg 0% 50% / 20%);
-
- /* biome-ignore format: definition needs to be oneline or breaks variants */
- --shadow-md-solid:
- 4px 4px 0px 0px var(--base-shadow-darker),
- 0 0px 2px 0px hsl(0deg 0% 60% / 50%);
-
- /* biome-ignore format: definition needs to be oneline or breaks variants */
- --shadow-lg-solid:
- 5px 6px 0px 0px var(--base-shadow-darker),
- 0 0px 4px 0px hsl(0deg 0% 75% / 50%);
-
- /* biome-ignore format: definition needs to be oneline or breaks variants */
- --shadow-xl-solid:
- 7px 8px 0px 0px var(--base-shadow-darker),
- 0 0px 4px 0px hsl(0deg 0% 85% / 50%);
-
- /* biome-ignore format: definition needs to be oneline or breaks variants */
- --shadow-2xl-solid:
- 10px 12px 0px 0px var(--base-shadow-darker),
- 0 0px 8px 0px hsl(0deg 0% 90% / 50%);
+ /* oxfmt-ignore: definition needs to be oneline or breaks variants */
+ --shadow-xs: 1px 1px 2px 0px var(--base-shadow), 0px 0px 2px 0px hsl(0deg 0% 25% / var(--base-shadow-opacity));
+
+ /* oxfmt-ignore: definition needs to be oneline or breaks variants */
+ --shadow-sm: 2px 2px 2px 0px var(--base-shadow), 0px 0px 2px 0px hsl(0deg 0% 25% / var(--base-shadow-opacity));
+
+ /* oxfmt-ignore: definition needs to be oneline or breaks variants */
+ --shadow-md: 4px 4px 4px 0px var(--base-shadow), 0 0px 4px 0px hsl(0deg 0% 60% / var(--base-shadow-opacity));
+
+ /* oxfmt-ignore: definition needs to be oneline or breaks variants */
+ --shadow-lg: 5px 6px 4px 0px var(--base-shadow), 0 0px 4px 0px hsl(0deg 0% 75% / var(--base-shadow-opacity));
+
+ /* oxfmt-ignore: definition needs to be oneline or breaks variants */
+ --shadow-xl: 8px 9px 4px 0px var(--base-shadow), 0 0px 6px 0px hsl(0deg 0% 85% / var(--base-shadow-opacity));
+
+ /* oxfmt-ignore: definition needs to be oneline or breaks variants */
+ --shadow-2xl: 10px 12px 10px 0px var(--base-shadow), 0 0px 8px 0px hsl(0deg 0% 90% / var(--base-shadow-opacity));
+
+ /* oxfmt-ignore: definition needs to be oneline or breaks variants */
+ --shadow-xs-solid: 1px 1px 0px 0px var(--base-shadow-darker), 0px 0px 2px 0px hsl(0deg 0% 50% / 20%);
+
+ /* oxfmt-ignore: definition needs to be oneline or breaks variants */
+ --shadow-sm-solid: 2px 2px 0px 0px var(--base-shadow-darker), 0px 0px 2px 0px hsl(0deg 0% 50% / 20%);
+
+ /* oxfmt-ignore: definition needs to be oneline or breaks variants */
+ --shadow-md-solid: 4px 4px 0px 0px var(--base-shadow-darker), 0 0px 2px 0px hsl(0deg 0% 60% / 50%);
+
+ /* oxfmt-ignore: definition needs to be oneline or breaks variants */
+ --shadow-lg-solid: 5px 6px 0px 0px var(--base-shadow-darker), 0 0px 4px 0px hsl(0deg 0% 75% / 50%);
+
+ /* oxfmt-ignore: definition needs to be oneline or breaks variants */
+ --shadow-xl-solid: 7px 8px 0px 0px var(--base-shadow-darker), 0 0px 4px 0px hsl(0deg 0% 85% / 50%);
+
+ /* oxfmt-ignore: definition needs to be oneline or breaks variants */
+ --shadow-2xl-solid: 10px 12px 0px 0px var(--base-shadow-darker), 0 0px 8px 0px hsl(0deg 0% 90% / 50%);
/* Solid shadows with lighter shade color */
- /* biome-ignore format: definition needs to be oneline or breaks variants */
+ /* oxfmt-ignore: definition needs to be oneline or breaks variants */
--shadow-sm-solid-shade:
2px 2px 0px 0px var(--base-shadow), 0px 0px 2px 0px hsl(0deg 0% 50% / 20%);
- /* biome-ignore format: definition needs to be oneline or breaks variants */
+ /* oxfmt-ignore: definition needs to be oneline or breaks variants */
--shadow-md-solid-shade:
4px 4px 0px 0px var(--base-shadow), 0 0px 2px 0px hsl(0deg 0% 60% / 50%);
}
diff --git a/frontend/src/custom.d.ts b/frontend/src/custom.d.ts
index 960cc74201..9d72c83128 100644
--- a/frontend/src/custom.d.ts
+++ b/frontend/src/custom.d.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
declare module "*.svg" {
const content: string | undefined;
export default content;
diff --git a/frontend/src/hooks/__tests__/useDuplicateShortcuts.test.ts b/frontend/src/hooks/__tests__/useDuplicateShortcuts.test.ts
index d4b25c717a..aef7d0ea65 100644
--- a/frontend/src/hooks/__tests__/useDuplicateShortcuts.test.ts
+++ b/frontend/src/hooks/__tests__/useDuplicateShortcuts.test.ts
@@ -17,7 +17,7 @@ function createHotkeys(
keys: Partial<Record<HotkeyAction, Hotkey>>,
): Record<HotkeyAction, Hotkey> {
return new Proxy(keys as Record<HotkeyAction, Hotkey>, {
- // biome-ignore lint: ok to have three arguments here (It's a web API)
+ // oxlint-ignore-next-line -- ok to have three arguments here (It's a web API)
get(target, p, receiver) {
const key = Reflect.get(target, p, receiver);
if (key === "undefined") {
@@ -402,7 +402,7 @@ describe("findDuplicateShortcuts", () => {
});
const provider = new HotkeyProvider(hotkeys, { platform: "mac" });
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
const result = findDuplicateShortcuts(provider, "NonExistent" as any);
// Should still work normally and detect the duplicate
diff --git a/frontend/src/hooks/debug.ts b/frontend/src/hooks/debug.ts
index c5c7afbead..15156cafb7 100644
--- a/frontend/src/hooks/debug.ts
+++ b/frontend/src/hooks/debug.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable react-hooks/rules-of-hooks */
+/* oxlint-disable react-hooks/rules-of-hooks */
import { dequal } from "dequal";
import { useEffect, useMemo, useRef } from "react";
@@ -21,7 +21,7 @@ export function useDebugMounting(name: string) {
return () => {
Logger.debug(`🐛 [${name}] unmounted. Renders: ${renders.current}`);
};
- // eslint-disable-next-line react-hooks/exhaustive-deps
+ // oxlint-disable-next-line react-hooks/exhaustive-deps
}, []);
useEffect(() => {
@@ -111,6 +111,6 @@ export function useMemoDebugChanges<T>(
previousDeps.current = deps;
return fn();
- // eslint-disable-next-line react-hooks/exhaustive-deps
+ // oxlint-disable-next-line react-hooks/exhaustive-deps
}, deps);
}
diff --git a/frontend/src/hooks/useDebounce.ts b/frontend/src/hooks/useDebounce.ts
index 32d2fab31f..98d6856455 100644
--- a/frontend/src/hooks/useDebounce.ts
+++ b/frontend/src/hooks/useDebounce.ts
@@ -78,7 +78,7 @@ export function useDebounceControlledState<T>(opts: {
};
}
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
+// oxlint-disable-next-line typescript/no-explicit-any
export function useDebouncedCallback<T extends (...args: any[]) => unknown>(
callback: T,
delay: number,
diff --git a/frontend/src/hooks/useEventListener.ts b/frontend/src/hooks/useEventListener.ts
index 9ede46ecb2..fdd94c3a51 100644
--- a/frontend/src/hooks/useEventListener.ts
+++ b/frontend/src/hooks/useEventListener.ts
@@ -57,7 +57,7 @@ export function useEventListener(
return;
}
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
const eventListener = (event: any) => savedListener.current(event);
target.addEventListener(type, eventListener, options);
diff --git a/frontend/src/hooks/useHotkey.ts b/frontend/src/hooks/useHotkey.ts
index a5276501f4..56055b2ead 100644
--- a/frontend/src/hooks/useHotkey.ts
+++ b/frontend/src/hooks/useHotkey.ts
@@ -14,7 +14,7 @@ import { useEventListener } from "./useEventListener";
type HotkeyHandler = (
evt?: KeyboardEvent,
- // eslint-disable-next-line @typescript-eslint/no-invalid-void-type
+ // oxlint-disable-next-line typescript/no-invalid-void-type
) => boolean | void | undefined | Promise<void>;
/**
diff --git a/frontend/src/hooks/useLifecycle.ts b/frontend/src/hooks/useLifecycle.ts
index b0ac156a7b..705e69d4e7 100644
--- a/frontend/src/hooks/useLifecycle.ts
+++ b/frontend/src/hooks/useLifecycle.ts
@@ -5,7 +5,7 @@ import { type EffectCallback, useEffect } from "react";
* Wrapper around useEffect that makes it clearer that the effect is run, just on mount.
*/
export function useOnMount(effect: EffectCallback) {
- // eslint-disable-next-line react-hooks/exhaustive-deps
+ // oxlint-disable-next-line react-hooks/exhaustive-deps
useEffect(effect, []);
}
@@ -13,7 +13,7 @@ export function useOnMount(effect: EffectCallback) {
* Wrapper around useEffect that makes it clearer that the effect is run, just on unmount.
*/
export function useOnUnmount(effect: EffectCallback) {
- // eslint-disable-next-line react-hooks/exhaustive-deps
+ // oxlint-disable-next-line react-hooks/exhaustive-deps
useEffect(() => {
return effect();
}, []);
diff --git a/frontend/src/hooks/useNonce.ts b/frontend/src/hooks/useNonce.ts
index c908ecd914..eb580abee7 100644
--- a/frontend/src/hooks/useNonce.ts
+++ b/frontend/src/hooks/useNonce.ts
@@ -2,7 +2,7 @@
import { useCallback, useState } from "react";
export function useNonce() {
- // eslint-disable-next-line react/hook-use-state
+ // oxlint-disable-next-line react/hook-use-state
const [, setNonce] = useState(0);
return useCallback(() => {
setNonce((n) => n + 1);
diff --git a/frontend/src/hooks/useResizeObserver.ts b/frontend/src/hooks/useResizeObserver.ts
index 5b3ba2c250..c0367f7c3b 100644
--- a/frontend/src/hooks/useResizeObserver.ts
+++ b/frontend/src/hooks/useResizeObserver.ts
@@ -28,10 +28,10 @@ export function useResizeObserver<T extends HTMLElement = HTMLElement>(
options: UseResizeObserverOptions<T>,
): void {
const { ref, box = "content-box", skip } = options;
- // eslint-disable-next-line react/hook-use-state
+ // oxlint-disable-next-line react/hook-use-state
const previousSize = useRef<Size>({ ...initialSize });
const onResize = useRef<((size: Size) => void) | undefined>(undefined);
- // eslint-disable-next-line react-hooks/react-compiler
+ // oxlint-disable-next-line react-hooks/react-compiler
onResize.current = options.onResize;
useEffect(() => {
diff --git a/frontend/src/main.tsx b/frontend/src/main.tsx
index 43289e02cd..ee8ae923d0 100644
--- a/frontend/src/main.tsx
+++ b/frontend/src/main.tsx
@@ -8,7 +8,7 @@ declare global {
}
}
-// eslint-disable-next-line ssr-friendly/no-dom-globals-in-module-scope
+// oxlint-disable-next-line ssr-friendly/no-dom-globals-in-module-scope
const el = document.getElementById("root");
if (el) {
if (!window.__MARIMO_MOUNT_CONFIG__) {
diff --git a/frontend/src/plugins/core/RenderHTML.tsx b/frontend/src/plugins/core/RenderHTML.tsx
index 275d9d0e23..efc6ce46fa 100644
--- a/frontend/src/plugins/core/RenderHTML.tsx
+++ b/frontend/src/plugins/core/RenderHTML.tsx
@@ -47,7 +47,7 @@ const removeWrappingBodyTags: TransformFn = (
if (isValidElement(reactNode) && "props" in reactNode) {
const props = reactNode.props as { children?: ReactNode };
const children = props.children;
- return <>{children}</>; // eslint-disable-line react/jsx-no-useless-fragment
+ return <>{children}</>; // oxlint-disable-line react/jsx-no-useless-fragment
}
return;
}
@@ -62,7 +62,7 @@ const removeWrappingHtmlTags: TransformFn = (
if (isValidElement(reactNode) && "props" in reactNode) {
const props = reactNode.props as { children?: ReactNode };
const children = props.children;
- return <>{children}</>; // eslint-disable-line react/jsx-no-useless-fragment
+ return <>{children}</>; // oxlint-disable-line react/jsx-no-useless-fragment
}
return;
}
@@ -104,7 +104,7 @@ const replaceSrcScripts = (domNode: DOMNode): JSX.Element | undefined => {
script.src = src;
document.head.append(script);
}
- // biome-ignore lint/complexity/noUselessFragments: this is intentional
+ // oxlint-disable-next-line react/jsx-no-useless-fragment
return <></>;
}
};
diff --git a/frontend/src/plugins/core/__test__/registerReactComponent.test.ts b/frontend/src/plugins/core/__test__/registerReactComponent.test.ts
index 0425cd7540..2acd609f66 100644
--- a/frontend/src/plugins/core/__test__/registerReactComponent.test.ts
+++ b/frontend/src/plugins/core/__test__/registerReactComponent.test.ts
@@ -58,7 +58,7 @@ describe("isCustomMarimoElement", () => {
});
describe("connectedCallback - light DOM nesting detection", () => {
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
let createRootSpy: any;
const mockRoot = {
render: vi.fn(),
diff --git a/frontend/src/plugins/core/registerReactComponent.tsx b/frontend/src/plugins/core/registerReactComponent.tsx
index c2ca922764..952eb830c5 100644
--- a/frontend/src/plugins/core/registerReactComponent.tsx
+++ b/frontend/src/plugins/core/registerReactComponent.tsx
@@ -1,6 +1,6 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable unicorn/prefer-spread */
+/* oxlint-disable unicorn/prefer-spread */
/**
* WebComponent Factory for React Components
*
@@ -88,7 +88,7 @@ interface PluginSlotProps<T> {
/* Handles synchronization of value on behalf of the component */
-// eslint-disable-next-line react/function-component-definition
+// oxlint-disable-next-line react/function-component-definition
function PluginSlotInternal<T>(
{ hostElement, plugin, children, getInitialValue }: PluginSlotProps<T>,
ref: React.Ref<PluginSlotHandle>,
@@ -231,7 +231,7 @@ function PluginSlotInternal<T>(
}
return methods;
- // eslint-disable-next-line react-hooks/exhaustive-deps
+ // oxlint-disable-next-line react-hooks/exhaustive-deps
}, [plugin.functions, hostElement, resetNonce]);
// If we failed to parse the initial value, render an error
@@ -265,7 +265,7 @@ function PluginSlotInternal<T>(
}
const PluginSlot: React.ForwardRefExoticComponent<
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
PluginSlotProps<any> & React.RefAttributes<PluginSlotHandle>
> = React.forwardRef(PluginSlotInternal);
diff --git a/frontend/src/plugins/core/rpc.ts b/frontend/src/plugins/core/rpc.ts
index bd3e3f9ef6..d4c1a387c7 100644
--- a/frontend/src/plugins/core/rpc.ts
+++ b/frontend/src/plugins/core/rpc.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import type { ZodType } from "zod";
diff --git a/frontend/src/plugins/impl/DataTablePlugin.tsx b/frontend/src/plugins/impl/DataTablePlugin.tsx
index 44653cb1b9..1cd5a4584a 100644
--- a/frontend/src/plugins/impl/DataTablePlugin.tsx
+++ b/frontend/src/plugins/impl/DataTablePlugin.tsx
@@ -205,7 +205,7 @@ interface Data<T> {
cellHoverTexts?: Record<string, Record<string, string | null>> | null;
}
-// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
+// oxlint-disable-next-line typescript/consistent-type-definitions
type DataTableFunctions = {
download_as: DownloadAsArgs;
get_column_summaries: <T>(opts: {}) => Promise<ColumnSummaries<T>>;
diff --git a/frontend/src/plugins/impl/FileBrowserPlugin.tsx b/frontend/src/plugins/impl/FileBrowserPlugin.tsx
index 87e0b11344..9496ba3000 100644
--- a/frontend/src/plugins/impl/FileBrowserPlugin.tsx
+++ b/frontend/src/plugins/impl/FileBrowserPlugin.tsx
@@ -62,7 +62,7 @@ interface FileInfo {
is_directory: boolean;
}
-// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
+// oxlint-disable-next-line typescript/consistent-type-definitions
type PluginFunctions = {
list_directory: (req: { path: string }) => Promise<{
files: FileInfo[];
diff --git a/frontend/src/plugins/impl/FormPlugin.tsx b/frontend/src/plugins/impl/FormPlugin.tsx
index 352d257613..10ac6d10f1 100644
--- a/frontend/src/plugins/impl/FormPlugin.tsx
+++ b/frontend/src/plugins/impl/FormPlugin.tsx
@@ -44,7 +44,7 @@ interface Data {
* is clicked, this plugin assumes the value of the associated plugin.
*/
-// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
+// oxlint-disable-next-line typescript/consistent-type-definitions
type Functions = {
validate: (req: { value?: unknown }) => Promise<string | undefined | null>;
};
diff --git a/frontend/src/plugins/impl/__tests__/MatrixPlugin.test.tsx b/frontend/src/plugins/impl/__tests__/MatrixPlugin.test.tsx
index 58b847fab5..3751854cf7 100644
--- a/frontend/src/plugins/impl/__tests__/MatrixPlugin.test.tsx
+++ b/frontend/src/plugins/impl/__tests__/MatrixPlugin.test.tsx
@@ -52,7 +52,7 @@ beforeEach(() => {
// jsdom's PointerEvent doesn't properly inherit MouseEvent properties
// like clientX. Polyfill it so fireEvent.pointerDown/Move/Up work.
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
(globalThis as any).PointerEvent = class PointerEvent extends MouseEvent {
readonly pointerId: number;
constructor(type: string, init: PointerEventInit = {}) {
diff --git a/frontend/src/plugins/impl/anywidget/AnyWidgetPlugin.tsx b/frontend/src/plugins/impl/anywidget/AnyWidgetPlugin.tsx
index e22d7ae837..044ffd65b8 100644
--- a/frontend/src/plugins/impl/anywidget/AnyWidgetPlugin.tsx
+++ b/frontend/src/plugins/impl/anywidget/AnyWidgetPlugin.tsx
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import type { AnyWidget } from "@anywidget/types";
import { useEffect, useRef } from "react";
diff --git a/frontend/src/plugins/impl/anywidget/model.ts b/frontend/src/plugins/impl/anywidget/model.ts
index 9be88fd0af..8471411a52 100644
--- a/frontend/src/plugins/impl/anywidget/model.ts
+++ b/frontend/src/plugins/impl/anywidget/model.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import type { AnyModel } from "@anywidget/types";
import { debounce } from "lodash-es";
diff --git a/frontend/src/plugins/impl/anywidget/types.ts b/frontend/src/plugins/impl/anywidget/types.ts
index 3aba3845fa..816c32be07 100644
--- a/frontend/src/plugins/impl/anywidget/types.ts
+++ b/frontend/src/plugins/impl/anywidget/types.ts
@@ -2,7 +2,7 @@
import type { Base64String } from "@/utils/json/base64";
import type { TypedString } from "@/utils/typed";
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
+// oxlint-disable-next-line typescript/no-explicit-any
export type EventHandler = (...args: any[]) => void;
/**
@@ -13,7 +13,7 @@ export type WidgetModelId = TypedString<"WidgetModelId">;
/**
* AnyWidget model state with buffers.
*/
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
+// oxlint-disable-next-line typescript/no-explicit-any
export type ModelState = Record<string | number, any>;
/**
diff --git a/frontend/src/plugins/impl/anywidget/widget-binding.ts b/frontend/src/plugins/impl/anywidget/widget-binding.ts
index 291ef27aa6..6a59e1052e 100644
--- a/frontend/src/plugins/impl/anywidget/widget-binding.ts
+++ b/frontend/src/plugins/impl/anywidget/widget-binding.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import type { AnyWidget, Experimental } from "@anywidget/types";
import { asRemoteURL } from "@/core/runtime/config";
diff --git a/frontend/src/plugins/impl/chat/ChatPlugin.tsx b/frontend/src/plugins/impl/chat/ChatPlugin.tsx
index 993b7c9284..1872906018 100644
--- a/frontend/src/plugins/impl/chat/ChatPlugin.tsx
+++ b/frontend/src/plugins/impl/chat/ChatPlugin.tsx
@@ -13,7 +13,7 @@ const LazyChatbot = React.lazy(() =>
import("./chat-ui").then((m) => ({ default: m.Chatbot })),
);
-// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
+// oxlint-disable-next-line typescript/consistent-type-definitions
export type PluginFunctions = {
get_chat_history: (req: {}) => Promise<{ messages: UIMessage[] }>;
delete_chat_history: (req: {}) => Promise<null>;
diff --git a/frontend/src/plugins/impl/chat/chat-ui.tsx b/frontend/src/plugins/impl/chat/chat-ui.tsx
index 8977624c37..77e117cab6 100644
--- a/frontend/src/plugins/impl/chat/chat-ui.tsx
+++ b/frontend/src/plugins/impl/chat/chat-ui.tsx
@@ -469,7 +469,7 @@ export const Chatbot: React.FC<Props> = (props) => {
resetInput();
}}
ref={formRef}
- // biome-ignore lint/a11y/useSemanticElements: inert is used to disable the entire form
+ // oxlint-ignore-next-line -- inert is used to disable the entire form
inert={props.disabled || undefined}
className={cn(
"flex w-full border-t border-(--slate-6) px-2 py-1 items-center",
diff --git a/frontend/src/plugins/impl/data-editor/glide-data-editor.tsx b/frontend/src/plugins/impl/data-editor/glide-data-editor.tsx
index 8e7c8e9022..2e9c28af3e 100644
--- a/frontend/src/plugins/impl/data-editor/glide-data-editor.tsx
+++ b/frontend/src/plugins/impl/data-editor/glide-data-editor.tsx
@@ -227,7 +227,7 @@ export const GlideDataEditor = <T,>({
// Force re-render to update the total rows
rerender();
- // eslint-disable-next-line react-hooks/exhaustive-deps
+ // oxlint-disable-next-line react-hooks/exhaustive-deps
}, [data.length]);
const getCellContent = useCallback(
diff --git a/frontend/src/plugins/impl/data-explorer/ConnectedDataExplorerComponent.tsx b/frontend/src/plugins/impl/data-explorer/ConnectedDataExplorerComponent.tsx
index 533cfe2940..68fabfc6c8 100644
--- a/frontend/src/plugins/impl/data-explorer/ConnectedDataExplorerComponent.tsx
+++ b/frontend/src/plugins/impl/data-explorer/ConnectedDataExplorerComponent.tsx
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-base-to-string */
+/* oxlint-disable typescript/no-base-to-string */
import * as cql from "compassql/build/src";
import { createStore, Provider, useAtomValue } from "jotai";
import { ListFilterIcon } from "lucide-react";
@@ -268,7 +268,7 @@ const HorizontalCarouselItem = ({
);
};
// Make the plot responsive
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
+// oxlint-disable-next-line typescript/no-explicit-any
function makeResponsive(spec: any) {
// NOTE: for row/column, this applies to the inner plot
// so we tend to overflow due to the legends,
diff --git a/frontend/src/plugins/impl/data-explorer/components/query-form.tsx b/frontend/src/plugins/impl/data-explorer/components/query-form.tsx
index 3d9b126d85..ec4e8980ff 100644
--- a/frontend/src/plugins/impl/data-explorer/components/query-form.tsx
+++ b/frontend/src/plugins/impl/data-explorer/components/query-form.tsx
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-base-to-string */
+/* oxlint-disable typescript/no-base-to-string */
import { ExpandedType } from "compassql/build/src/query/expandedtype";
import { PrimitiveType, type Schema } from "compassql/build/src/schema";
diff --git a/frontend/src/plugins/impl/data-explorer/functions/function.ts b/frontend/src/plugins/impl/data-explorer/functions/function.ts
index f9f7071867..271162c736 100644
--- a/frontend/src/plugins/impl/data-explorer/functions/function.ts
+++ b/frontend/src/plugins/impl/data-explorer/functions/function.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-base-to-string */
+/* oxlint-disable typescript/no-base-to-string */
import type { FieldQuery } from "compassql/build/src/query/encoding";
import { type FieldFunction, isAggregateOp, type TimeUnitOp } from "./types";
diff --git a/frontend/src/plugins/impl/data-explorer/queries/types.ts b/frontend/src/plugins/impl/data-explorer/queries/types.ts
index e43caef2b6..5e8b72e44d 100644
--- a/frontend/src/plugins/impl/data-explorer/queries/types.ts
+++ b/frontend/src/plugins/impl/data-explorer/queries/types.ts
@@ -28,7 +28,7 @@ export interface Result {
limit: number;
}
-// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-redundant-type-constituents
+// oxlint-disable-next-line typescript/no-explicit-any, typescript/no-redundant-type-constituents
export type TopLevelFacetedUnitSpec = TopLevel<FacetedUnitSpec<any, any>> & {
data: NamedData;
};
diff --git a/frontend/src/plugins/impl/data-frames/DataFramePlugin.tsx b/frontend/src/plugins/impl/data-frames/DataFramePlugin.tsx
index 9ae985795f..93a38c3242 100644
--- a/frontend/src/plugins/impl/data-frames/DataFramePlugin.tsx
+++ b/frontend/src/plugins/impl/data-frames/DataFramePlugin.tsx
@@ -54,7 +54,7 @@ interface Data {
lazy: boolean;
}
-// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
+// oxlint-disable-next-line typescript/consistent-type-definitions
type PluginFunctions = {
get_dataframe: (req: {}) => Promise<{
url: string;
diff --git a/frontend/src/plugins/impl/data-frames/forms/renderers.tsx b/frontend/src/plugins/impl/data-frames/forms/renderers.tsx
index 80b226a178..0f87bcc302 100644
--- a/frontend/src/plugins/impl/data-frames/forms/renderers.tsx
+++ b/frontend/src/plugins/impl/data-frames/forms/renderers.tsx
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import React, { useEffect } from "react";
import {
diff --git a/frontend/src/plugins/impl/data-frames/utils/operators.ts b/frontend/src/plugins/impl/data-frames/utils/operators.ts
index 6aa3e4e634..e7ddd245bd 100644
--- a/frontend/src/plugins/impl/data-frames/utils/operators.ts
+++ b/frontend/src/plugins/impl/data-frames/utils/operators.ts
@@ -194,7 +194,7 @@ export function isConditionValueValid(operator: string, value: unknown) {
return possibleSchemas.some((schema) => schema.safeParse(value).success);
}
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
+// oxlint-disable-next-line typescript/no-explicit-any
const safeGet = (obj: any, key: string): [z.ZodType] | [] => {
if (obj[key]) {
return obj[key];
diff --git a/frontend/src/plugins/impl/matplotlib/MatplotlibPlugin.tsx b/frontend/src/plugins/impl/matplotlib/MatplotlibPlugin.tsx
index 1e1245355e..7ab26f52ee 100644
--- a/frontend/src/plugins/impl/matplotlib/MatplotlibPlugin.tsx
+++ b/frontend/src/plugins/impl/matplotlib/MatplotlibPlugin.tsx
@@ -57,7 +57,7 @@ const MatplotlibComponent = (props: MatplotlibState) => {
controller.abort();
instance.current = null;
};
- // eslint-disable-next-line react-hooks/exhaustive-deps
+ // oxlint-disable-next-line react-hooks/exhaustive-deps
}, []);
// No dependency array: intentionally syncs all props into the imperative
diff --git a/frontend/src/plugins/impl/mpl-interactive/MplInteractivePlugin.tsx b/frontend/src/plugins/impl/mpl-interactive/MplInteractivePlugin.tsx
index 849eb967a2..6443f88d02 100644
--- a/frontend/src/plugins/impl/mpl-interactive/MplInteractivePlugin.tsx
+++ b/frontend/src/plugins/impl/mpl-interactive/MplInteractivePlugin.tsx
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import { useCallback, useEffect, useRef } from "react";
import { z } from "zod";
diff --git a/frontend/src/plugins/impl/panel/PanelPlugin.tsx b/frontend/src/plugins/impl/panel/PanelPlugin.tsx
index 58350271e3..ebebd3d3a9 100644
--- a/frontend/src/plugins/impl/panel/PanelPlugin.tsx
+++ b/frontend/src/plugins/impl/panel/PanelPlugin.tsx
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import { useCallback, useEffect, useRef, useState } from "react";
import { z } from "zod";
@@ -74,7 +74,7 @@ interface PanelData {
type T = Record<string, unknown>;
-// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
+// oxlint-disable-next-line typescript/consistent-type-definitions
type PluginFunctions = {
send_to_widget: <T>(req: {
message?: unknown;
diff --git a/frontend/src/plugins/impl/plotly/Plot.tsx b/frontend/src/plugins/impl/plotly/Plot.tsx
index a977dc6bcb..b828f1d3d0 100644
--- a/frontend/src/plugins/impl/plotly/Plot.tsx
+++ b/frontend/src/plugins/impl/plotly/Plot.tsx
@@ -4,7 +4,7 @@ import type * as PlotlyTypes from "plotly.js";
// Import the pre-built dist bundle, not the source entry point.
// The source entry point requires Node.js polyfills (e.g. `buffer/`)
// that are unavailable in the browser/bundler environment.
-// eslint-disable-next-line @typescript-eslint/ban-ts-comment
+// oxlint-disable-next-line typescript/ban-ts-comment
// @ts-expect-error — no type declarations for dist path, we use PlotlyTypes above
import Plotly from "plotly.js/dist/plotly";
import { useEffect, useRef } from "react";
@@ -107,7 +107,7 @@ export const Plot = (props: PlotProps) => {
const plotlyEl = el as unknown as PlotlyElement;
- // eslint-disable-next-line @typescript-eslint/ban-types -- Plotly's event API uses generic function references
+ // oxlint-disable-next-line typescript/ban-types -- Plotly's event API uses generic function references
const attached: {
plotlyName: string;
handler: (...args: never[]) => void;
@@ -131,7 +131,7 @@ export const Plot = (props: PlotProps) => {
}
};
// Re-sync whenever any event handler prop changes
- // eslint-disable-next-line react-hooks/exhaustive-deps
+ // oxlint-disable-next-line react-hooks/exhaustive-deps
},
EVENT_NAMES.map((name) => props[propName(name)]),
);
diff --git a/frontend/src/plugins/impl/vega/batched.ts b/frontend/src/plugins/impl/vega/batched.ts
index 277acee3ca..8c0e7c7e07 100644
--- a/frontend/src/plugins/impl/vega/batched.ts
+++ b/frontend/src/plugins/impl/vega/batched.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import { tableFromIPC } from "@uwdata/flechette";
import { batch } from "@/utils/batch-requests";
diff --git a/frontend/src/plugins/impl/vega/make-selectable.ts b/frontend/src/plugins/impl/vega/make-selectable.ts
index 36c3fa6baa..89ab4bcf1d 100644
--- a/frontend/src/plugins/impl/vega/make-selectable.ts
+++ b/frontend/src/plugins/impl/vega/make-selectable.ts
@@ -160,7 +160,7 @@ function findCommonParams(
if (!signatureCounts.has(signature)) {
signatureCounts.set(signature, { count: 0, param });
}
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
+ // oxlint-disable-next-line typescript/no-non-null-assertion
signatureCounts.get(signature)!.count++;
}
}
diff --git a/frontend/src/plugins/impl/vega/types.ts b/frontend/src/plugins/impl/vega/types.ts
index cb346ff3b3..f654c60fee 100644
--- a/frontend/src/plugins/impl/vega/types.ts
+++ b/frontend/src/plugins/impl/vega/types.ts
@@ -25,7 +25,7 @@ export type {
} from "vega-lite/types_unstable/spec/unit.js";
export type VegaLiteUnitSpec = TopLevelUnitSpec<Field>;
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
+// oxlint-disable-next-line typescript/no-explicit-any
export type GenericVegaSpec = GenericUnitSpec<any, any, any>;
export type EncodingType = keyof Encoding<Field>;
export type Encodings = Encoding<Field>;
diff --git a/frontend/src/plugins/layout/DownloadPlugin.tsx b/frontend/src/plugins/layout/DownloadPlugin.tsx
index 47346aa1b2..5f1747a174 100644
--- a/frontend/src/plugins/layout/DownloadPlugin.tsx
+++ b/frontend/src/plugins/layout/DownloadPlugin.tsx
@@ -35,7 +35,7 @@ interface Data {
lazy?: boolean;
}
-// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
+// oxlint-disable-next-line typescript/consistent-type-definitions
type Functions = {
/**
* Function to call for lazy loading
diff --git a/frontend/src/plugins/layout/LazyPlugin.tsx b/frontend/src/plugins/layout/LazyPlugin.tsx
index 89c0846c77..4248d7a95e 100644
--- a/frontend/src/plugins/layout/LazyPlugin.tsx
+++ b/frontend/src/plugins/layout/LazyPlugin.tsx
@@ -14,7 +14,7 @@ interface Data {
showLoadingIndicator: boolean;
}
-// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
+// oxlint-disable-next-line typescript/consistent-type-definitions
type PluginFunctions = {
load: (req: {}) => Promise<{
html: string;
diff --git a/frontend/src/plugins/layout/RoutesPlugin.tsx b/frontend/src/plugins/layout/RoutesPlugin.tsx
index edb3a7c821..4948ff475c 100644
--- a/frontend/src/plugins/layout/RoutesPlugin.tsx
+++ b/frontend/src/plugins/layout/RoutesPlugin.tsx
@@ -69,7 +69,7 @@ const RoutesComponent = ({
}, [handleFindMatch]);
if (!matched) {
- // biome-ignore lint/complexity/noUselessFragments: this is intentional
+ // oxlint-disable-next-line react/jsx-no-useless-fragment
return <></>;
}
diff --git a/frontend/src/plugins/layout/mermaid/mermaid.tsx b/frontend/src/plugins/layout/mermaid/mermaid.tsx
index a86a2cae8e..0add842407 100644
--- a/frontend/src/plugins/layout/mermaid/mermaid.tsx
+++ b/frontend/src/plugins/layout/mermaid/mermaid.tsx
@@ -63,7 +63,7 @@ function randomAlpha() {
}
const Mermaid: React.FC<Props> = ({ diagram }) => {
- // eslint-disable-next-line react/hook-use-state
+ // oxlint-disable-next-line react/hook-use-state
const [id] = useState(() => randomAlpha());
const darkMode = useTheme().theme === "dark";
diff --git a/frontend/src/plugins/plugins.ts b/frontend/src/plugins/plugins.ts
index 811919c4dc..154fb3e2c1 100644
--- a/frontend/src/plugins/plugins.ts
+++ b/frontend/src/plugins/plugins.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import { NavigationMenuPlugin } from "@/plugins/layout/NavigationMenuPlugin";
import { initializeUIElement } from "../core/dom/ui-element";
diff --git a/frontend/src/stories/data-explorer.stories.tsx b/frontend/src/stories/data-explorer.stories.tsx
index eff73c5bd0..a4a344c9e7 100644
--- a/frontend/src/stories/data-explorer.stories.tsx
+++ b/frontend/src/stories/data-explorer.stories.tsx
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable react-hooks/rules-of-hooks */
+/* oxlint-disable react-hooks/rules-of-hooks */
import type { Meta, StoryObj } from "@storybook/react-vite";
import { useState } from "react";
diff --git a/frontend/src/stories/dataframe.stories.tsx b/frontend/src/stories/dataframe.stories.tsx
index e164167262..c109a312bb 100644
--- a/frontend/src/stories/dataframe.stories.tsx
+++ b/frontend/src/stories/dataframe.stories.tsx
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable react-hooks/rules-of-hooks */
+/* oxlint-disable react-hooks/rules-of-hooks */
import type { Meta, StoryObj } from "@storybook/react-vite";
import { useState } from "react";
import { DataFrameComponent } from "@/plugins/impl/data-frames/DataFramePlugin";
diff --git a/frontend/src/stories/editor.stories.tsx b/frontend/src/stories/editor.stories.tsx
index b5eeb1ebb0..de0a150dc9 100644
--- a/frontend/src/stories/editor.stories.tsx
+++ b/frontend/src/stories/editor.stories.tsx
@@ -52,7 +52,7 @@ const Editor = (opts: { extensions?: Extension[] }): React.ReactNode => {
});
return () => view.destroy();
- // eslint-disable-next-line react-hooks/exhaustive-deps
+ // oxlint-disable-next-line react-hooks/exhaustive-deps
}, [ref.current]);
return <div className="cm" ref={ref} />;
diff --git a/frontend/src/stories/select.stories.tsx b/frontend/src/stories/select.stories.tsx
index 2fc9b9ea61..b90f9ca79f 100644
--- a/frontend/src/stories/select.stories.tsx
+++ b/frontend/src/stories/select.stories.tsx
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable react-hooks/rules-of-hooks */
+/* oxlint-disable react-hooks/rules-of-hooks */
import type { Meta, StoryObj } from "@storybook/react-vite";
import { useState } from "react";
diff --git a/frontend/src/stories/switchable-multi-select.stories.tsx b/frontend/src/stories/switchable-multi-select.stories.tsx
index b64a6d89b0..32a904f2ec 100644
--- a/frontend/src/stories/switchable-multi-select.stories.tsx
+++ b/frontend/src/stories/switchable-multi-select.stories.tsx
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable react-hooks/rules-of-hooks */
+/* oxlint-disable react-hooks/rules-of-hooks */
import type { Meta, StoryObj } from "@storybook/react-vite";
import { useState } from "react";
import { SwitchableMultiSelect } from "@/components/forms/switchable-multi-select";
diff --git a/frontend/src/utils/Logger.ts b/frontend/src/utils/Logger.ts
index 195687b8c0..2763b96a08 100644
--- a/frontend/src/utils/Logger.ts
+++ b/frontend/src/utils/Logger.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/** biome-ignore-all lint/suspicious/noConsole: For console logging */
+/* oxlint-disable no-console -- For console logging */
import { Functions } from "./functions";
diff --git a/frontend/src/utils/__tests__/arrays.test.ts b/frontend/src/utils/__tests__/arrays.test.ts
index 7269d0a55b..e50783ee94 100644
--- a/frontend/src/utils/__tests__/arrays.test.ts
+++ b/frontend/src/utils/__tests__/arrays.test.ts
@@ -124,7 +124,7 @@ describe("arrays", () => {
});
it("should handle undefined/null array", () => {
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
expect(arrayToggle(undefined as any, 1)).toEqual([1]);
});
diff --git a/frontend/src/utils/__tests__/blob.test.ts b/frontend/src/utils/__tests__/blob.test.ts
index 02f3928aa9..a5080ec877 100644
--- a/frontend/src/utils/__tests__/blob.test.ts
+++ b/frontend/src/utils/__tests__/blob.test.ts
@@ -30,7 +30,7 @@ describe("Blob serialization and deserialization", () => {
const serialized = await serializeBlob(testBlob);
const deserialized = deserializeBlob(serialized);
const reader = new FileReader();
- // eslint-disable-next-line unicorn/prefer-blob-reading-methods
+ // oxlint-disable-next-line unicorn/prefer-blob-reading-methods
reader.readAsText(deserialized);
await new Promise((resolve) => {
reader.onload = () => {
diff --git a/frontend/src/utils/__tests__/dates.test.ts b/frontend/src/utils/__tests__/dates.test.ts
index 9a5f319eff..a8bc165e6b 100644
--- a/frontend/src/utils/__tests__/dates.test.ts
+++ b/frontend/src/utils/__tests__/dates.test.ts
@@ -73,7 +73,7 @@ describe("dates", () => {
describe("with different locales", () => {
// Save original implementation
- // eslint-disable-next-line @typescript-eslint/unbound-method
+ // oxlint-disable-next-line typescript/unbound-method
const originalToLocaleDateString = Date.prototype.toLocaleDateString;
afterAll(() => {
diff --git a/frontend/src/utils/__tests__/errors.test.ts b/frontend/src/utils/__tests__/errors.test.ts
index 3dec4310e7..6e47cc719c 100644
--- a/frontend/src/utils/__tests__/errors.test.ts
+++ b/frontend/src/utils/__tests__/errors.test.ts
@@ -46,7 +46,7 @@ describe("prettyError", () => {
});
it("handles circular references", () => {
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
const circular: any = { foo: "bar" };
circular.self = circular;
expect(prettyError(circular)).toBe("[object Object]");
diff --git a/frontend/src/utils/__tests__/objects.test.ts b/frontend/src/utils/__tests__/objects.test.ts
index 45462fb583..a8ffc72244 100644
--- a/frontend/src/utils/__tests__/objects.test.ts
+++ b/frontend/src/utils/__tests__/objects.test.ts
@@ -29,9 +29,9 @@ describe("Objects", () => {
});
it("should return falsy input unchanged", () => {
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
expect(Objects.mapValues(null as any, (v) => v)).toBe(null);
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
expect(Objects.mapValues(undefined as any, (v) => v)).toBe(undefined);
});
});
@@ -249,7 +249,7 @@ describe("Objects", () => {
it("should handle omitting non-existent keys", () => {
const obj = { a: 1, b: 2 };
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
const result = Objects.omit(obj, ["c" as any]);
expect(result).toEqual({ a: 1, b: 2 });
});
diff --git a/frontend/src/utils/__tests__/waitForWs.test.ts b/frontend/src/utils/__tests__/waitForWs.test.ts
index ffe791d41e..6b5565fca0 100644
--- a/frontend/src/utils/__tests__/waitForWs.test.ts
+++ b/frontend/src/utils/__tests__/waitForWs.test.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
import { waitForWs } from "../waitForWs";
diff --git a/frontend/src/utils/arrays.ts b/frontend/src/utils/arrays.ts
index d105aa4b8b..a14c1bff2d 100644
--- a/frontend/src/utils/arrays.ts
+++ b/frontend/src/utils/arrays.ts
@@ -53,7 +53,7 @@ export function arrayShallowEquals<T>(a: T[], b: T[]): boolean {
}
export const Arrays = {
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
EMPTY: [] as any,
zip: <T, U>(a: T[], b: U[]): [T, U][] => {
invariant(a.length === b.length, "Arrays must be the same length");
diff --git a/frontend/src/utils/assertNever.ts b/frontend/src/utils/assertNever.ts
index af21401473..61f250ef37 100644
--- a/frontend/src/utils/assertNever.ts
+++ b/frontend/src/utils/assertNever.ts
@@ -15,6 +15,6 @@ export function assertNever(x: never): never {
*/
export function logNever(x: never): void {
Logger.warn(`Unexpected object: ${JSON.stringify(x)}`);
- // biome-ignore lint/correctness/noVoidTypeReturn: <explanation>
+ // oxlint-ignore-next-line -- noVoidTypeReturn: function returns void but value is needed for exhaustiveness
return x;
}
diff --git a/frontend/src/utils/batch-requests.ts b/frontend/src/utils/batch-requests.ts
index b8860254fe..6b84e50090 100644
--- a/frontend/src/utils/batch-requests.ts
+++ b/frontend/src/utils/batch-requests.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
/**
* Debounces multiple calls to a loader function, returning the same promise for
@@ -14,7 +14,7 @@ export function batch<T, REQ extends unknown[]>(
return (...args: REQ): Promise<T> => {
const key = toKey(...args);
if (requestCache.has(key)) {
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
+ // oxlint-disable-next-line typescript/no-non-null-assertion
return requestCache.get(key)!;
}
diff --git a/frontend/src/utils/createReducer.ts b/frontend/src/utils/createReducer.ts
index df50ba1acd..41873e4f89 100644
--- a/frontend/src/utils/createReducer.ts
+++ b/frontend/src/utils/createReducer.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import { atom, useSetAtom } from "jotai";
import type { Reducer } from "react";
@@ -139,7 +139,7 @@ export function createReducerAndAtoms<
);
}
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
+ // oxlint-disable-next-line typescript/no-non-null-assertion
return actionsMap.get(setState)!;
}
diff --git a/frontend/src/utils/id-tree.tsx b/frontend/src/utils/id-tree.tsx
index d296938d25..deb979b428 100644
--- a/frontend/src/utils/id-tree.tsx
+++ b/frontend/src/utils/id-tree.tsx
@@ -43,7 +43,7 @@ export class TreeNode<T> {
const stack = [...this.children];
while (stack.length > 0) {
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
+ // oxlint-disable-next-line typescript/no-non-null-assertion
const node = stack.pop()!;
count++;
@@ -62,7 +62,7 @@ export class TreeNode<T> {
const stack = [...this.children];
while (stack.length > 0) {
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
+ // oxlint-disable-next-line typescript/no-non-null-assertion
const node = stack.pop()!;
result.push(node.value);
diff --git a/frontend/src/utils/idle.ts b/frontend/src/utils/idle.ts
index 7e57435742..2b347b531a 100644
--- a/frontend/src/utils/idle.ts
+++ b/frontend/src/utils/idle.ts
@@ -7,7 +7,7 @@
*/
export function onIdle(callback: () => void) {
if ("scheduler" in window) {
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
(window as any).scheduler.postTask(callback, {
priority: "background",
});
diff --git a/frontend/src/utils/invariant.ts b/frontend/src/utils/invariant.ts
index 40be3a4aea..e7515c73a3 100644
--- a/frontend/src/utils/invariant.ts
+++ b/frontend/src/utils/invariant.ts
@@ -29,8 +29,7 @@ export function invariant(
if (!expression) {
if (import.meta.env.DEV) {
// Triggers a breakpoint in development; stripped out in production builds.
- // biome-ignore lint/suspicious/noDebugger: code block is stripped out in production builds
- debugger; // eslint-disable-line no-debugger
+ debugger; // oxlint-disable-line no-debugger -- stripped out in production builds
}
throw new Error(msg);
}
diff --git a/frontend/src/utils/maps.ts b/frontend/src/utils/maps.ts
index e42d9b1606..0dc758700e 100644
--- a/frontend/src/utils/maps.ts
+++ b/frontend/src/utils/maps.ts
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
+/* oxlint-disable typescript/no-explicit-any */
import { Logger } from "./Logger";
diff --git a/frontend/src/utils/math.ts b/frontend/src/utils/math.ts
index b265050c74..8f388a0f06 100644
--- a/frontend/src/utils/math.ts
+++ b/frontend/src/utils/math.ts
@@ -1,6 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-// biome-ignore lint: preferObjectParams ok to ignore for common util
export function clamp(value: number, min: number, max: number) {
return Math.min(Math.max(value, min), max);
}
diff --git a/frontend/src/utils/multi-map.ts b/frontend/src/utils/multi-map.ts
index c4a6930262..3b75707f11 100644
--- a/frontend/src/utils/multi-map.ts
+++ b/frontend/src/utils/multi-map.ts
@@ -16,7 +16,7 @@ export class MultiMap<K, V> {
add(key: K, value: V): void {
if (this.map.has(key)) {
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
+ // oxlint-disable-next-line typescript/no-non-null-assertion
this.map.get(key)!.push(value);
} else {
this.map.set(key, [value]);
diff --git a/frontend/src/utils/objects.ts b/frontend/src/utils/objects.ts
index 15c0cfbf12..0963b1f166 100644
--- a/frontend/src/utils/objects.ts
+++ b/frontend/src/utils/objects.ts
@@ -106,7 +106,7 @@ export const Objects = {
return Objects.filter(obj, (_, key) => !set.has(key));
},
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // oxlint-disable-next-line typescript/no-explicit-any
pick<V extends Record<string, any>, K extends string>(
obj: V,
keys: readonly K[],
diff --git a/frontend/src/utils/once.ts b/frontend/src/utils/once.ts
index 4a4c59dbec..af325626fc 100644
--- a/frontend/src/utils/once.ts
+++ b/frontend/src/utils/once.ts
@@ -2,7 +2,7 @@
import { arrayShallowEquals } from "./arrays";
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
+// oxlint-disable-next-line typescript/no-explicit-any
export function once<T extends (...args: any[]) => any>(fn: T): T {
let result: ReturnType<T>;
let called = false;
@@ -18,7 +18,7 @@ export function once<T extends (...args: any[]) => any>(fn: T): T {
} as T;
}
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
+// oxlint-disable-next-line typescript/no-explicit-any
export function memoizeLastValue<T extends (...args: any[]) => any>(fn: T): T {
let result: ReturnType<T>;
let lastArgs: Parameters<T> | undefined;
diff --git a/frontend/src/utils/staticImplements.ts b/frontend/src/utils/staticImplements.ts
index db8d215b10..217ba28123 100644
--- a/frontend/src/utils/staticImplements.ts
+++ b/frontend/src/utils/staticImplements.ts
@@ -1,7 +1,7 @@
/* Copyright 2026 Marimo. All rights reserved. */
export function staticImplements<T>() {
return <U extends T>(_constructor: U) => {
- // eslint-disable-next-line @typescript-eslint/no-unused-expressions
+ // oxlint-disable-next-line typescript/no-unused-expressions
_constructor;
};
}
diff --git a/frontend/src/utils/storage/jotai.ts b/frontend/src/utils/storage/jotai.ts
index cae07d28c8..032325d5ea 100644
--- a/frontend/src/utils/storage/jotai.ts
+++ b/frontend/src/utils/storage/jotai.ts
@@ -46,5 +46,5 @@ export function adaptForLocalStorage<Value, Serializable>(opts: {
/**
* A JSON storage adapter that uses the best available storage.
*/
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
+// oxlint-disable-next-line typescript/no-explicit-any
export const jotaiJsonStorage = createJSONStorage<any>(() => availableStorage);
diff --git a/frontend/src/utils/tracer.ts b/frontend/src/utils/tracer.ts
index 0f93c47a63..37a69df792 100644
--- a/frontend/src/utils/tracer.ts
+++ b/frontend/src/utils/tracer.ts
@@ -1,7 +1,7 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/* eslint-disable @typescript-eslint/no-explicit-any */
-/** biome-ignore-all lint/suspicious/noConsole: for debugging */
+/* oxlint-disable typescript/no-explicit-any */
+/* oxlint-disable no-console -- for debugging */
import { Logger } from "./Logger";
diff --git a/packages/llm-info/src/simple_logger.ts b/packages/llm-info/src/simple_logger.ts
index 8619b47533..14aeff0e46 100644
--- a/packages/llm-info/src/simple_logger.ts
+++ b/packages/llm-info/src/simple_logger.ts
@@ -1,6 +1,6 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/** biome-ignore-all lint/suspicious/noConsole: For logging */
+/* oxlint-disable no-console -- For logging */
declare global {
interface Window {
diff --git a/packages/lsp/index.ts b/packages/lsp/index.ts
index 35a51f3680..8c7779254e 100644
--- a/packages/lsp/index.ts
+++ b/packages/lsp/index.ts
@@ -1,3 +1,4 @@
+/* oxlint-disable no-console -- LSP server uses console for logging */
import { appendFile, mkdir, writeFile } from "node:fs/promises";
import type { IncomingMessage } from "node:http";
import { dirname } from "node:path";
@@ -29,25 +30,21 @@ class Logger {
try {
await appendFile(this.logFilePath, `${log}\n`);
} catch (error) {
- // biome-ignore lint/suspicious/noConsole: For printing to the console
console.error("Failed to write to log file:", error);
}
}
debug(...args: Parameters<typeof console.log>): void {
- // biome-ignore lint/suspicious/noConsole: For printing to the console
console.log(...args);
void this.appendToLogFile("[DEBUG]", ...args);
}
log(...args: Parameters<typeof console.log>): void {
- // biome-ignore lint/suspicious/noConsole: For printing to the console
console.log(...args);
void this.appendToLogFile("[INFO]", ...args);
}
error(...args: Parameters<typeof console.error>): void {
- // biome-ignore lint/suspicious/noConsole: For printing to the console
console.error(...args);
void this.appendToLogFile("[ERROR]", ...args);
}
@@ -237,7 +234,6 @@ async function main(): Promise<void> {
const argv = parseArgs(process.argv);
if (argv.help) {
- // biome-ignore lint/suspicious/noConsole: For printing to the console
console.log(
'Usage: node index.cjs --log-file <path> --lsp "<command>" [--port <port>]',
);
diff --git a/packages/lsp/move.js b/packages/lsp/move.js
index 4011c6d735..c08173a3ea 100644
--- a/packages/lsp/move.js
+++ b/packages/lsp/move.js
@@ -18,5 +18,5 @@ const oldPath = path.join(destDir, "language-server.js");
const newPath = path.join(destDir, "language-server.cjs");
fs.renameSync(oldPath, newPath);
-// biome-ignore lint/suspicious/noConsole: build script
+// oxlint-disable-next-line no-console -- build script
console.log("Successfully copied and renamed language-server files");
diff --git a/packages/openapi/convert_types.js b/packages/openapi/convert_types.js
index c23a11e630..f86b234460 100644
--- a/packages/openapi/convert_types.js
+++ b/packages/openapi/convert_types.js
@@ -1,5 +1,5 @@
/* Copyright 2026 Marimo. All rights reserved. */
-/** biome-ignore-all lint/suspicious/noConsole: for debugging */
+/* oxlint-disable no-console -- for debugging */
// @ts-check
import * as fs from "node:fs";
import openapiTS, { astToString, COMMENT_HEADER } from "openapi-typescript";
@@ -46,7 +46,7 @@ function postTransform(content) {
// UIElementId is a template literal, not a simple branded string.
result = result.replace(
/\bUIElementId: string;/,
- // biome-ignore lint/suspicious/noTemplateCurlyInString: raw string, not a template
+ // oxlint-disable-next-line no-template-curly-in-string -- raw string, not a template
'UIElementId: `${components["schemas"]["CellId"]}-${string}`;',
);
diff --git a/packages/smart-cells/src/parsers/sql-parser.ts b/packages/smart-cells/src/parsers/sql-parser.ts
index 1cfb915cc0..f4e17d8904 100644
--- a/packages/smart-cells/src/parsers/sql-parser.ts
+++ b/packages/smart-cells/src/parsers/sql-parser.ts
@@ -316,7 +316,7 @@ function parseSQLStatement(code: string): SQLParseInfo | null {
startPosition,
};
} catch (error) {
- // biome-ignore lint/suspicious/noConsole: warning ok
+ // oxlint-disable-next-line no-console -- warning ok
console.warn("Failed to parse SQL statement", error);
return null;
}
diff --git a/packages/smart-cells/src/utils/python-ast.ts b/packages/smart-cells/src/utils/python-ast.ts
index 717502fb30..1f2957a670 100644
--- a/packages/smart-cells/src/utils/python-ast.ts
+++ b/packages/smart-cells/src/utils/python-ast.ts
@@ -32,7 +32,7 @@ export function parseArgsKwargs(
code: string,
): ParsedArgs {
if (argCursor.name !== "ArgList") {
- // biome-ignore lint/suspicious/noConsole: useful for debugging AST parsing issues
+ // oxlint-disable-next-line no-console -- useful for debugging AST parsing issues
console.warn(`Not an ArgList, name: ${argCursor.name}`);
return { args: [], kwargs: [] };
}