diff --git a/biome.jsonc b/biome.jsonc index 17c1115d207..8a90217990a 100644 --- a/biome.jsonc +++ b/biome.jsonc @@ -83,12 +83,7 @@ "useIterableCallbackReturn": "off", "noUnknownAtRules": "off", // Allow Tailwind directives "noEmptyInterface": "off", // oxlint owns no-empty-interface - "noConsole": { - "level": "error", - "options": { - "allow": ["error", "info", "warn"] - } - } + "noConsole": "off" // oxlint owns no-console }, "complexity": { "noImportantStyles": "off", // TODO: check and fix !important styles diff --git a/site/.oxlintrc.jsonc b/site/.oxlintrc.jsonc index d3d77efa6d2..5031a11a687 100644 --- a/site/.oxlintrc.jsonc +++ b/site/.oxlintrc.jsonc @@ -151,6 +151,7 @@ "no-const-enum": "error", "no-control-regex": "error", "no-debugger": "error", + "no-console": ["error", { "allow": ["error", "info", "warn"] }], "no-document-cookie": "error", "eqeqeq": ["error", "always", { "null": "ignore" }], "no-duplicate-case": "error", @@ -215,7 +216,6 @@ "no-noninteractive-tabindex": "off", // a11y/noNoninteractiveTabindex (small) "interactive-supports-focus": "off", // a11y/useFocusableInteractive (small) "iframe-has-title": "off", // a11y/useIframeTitle (small) - "no-console": "off", // suspicious/noConsole (small, coder error rule: Biome suppression to migrate) "exhaustive-deps": "off", // correctness/useExhaustiveDependencies (large: reimplementation; Biome suppressions to migrate) "no-restricted-imports": [ "error", diff --git a/site/src/modules/terminal/WorkspaceTerminal.tsx b/site/src/modules/terminal/WorkspaceTerminal.tsx index c92dc5d27f5..b133814d551 100644 --- a/site/src/modules/terminal/WorkspaceTerminal.tsx +++ b/site/src/modules/terminal/WorkspaceTerminal.tsx @@ -188,9 +188,8 @@ export const WorkspaceTerminal = ({ try { fitAddon.fit(); fitAddon.fit(); - } catch (error) { - // biome-ignore lint/suspicious/noConsole: Expected transient fit failure while xterm initializes. - console.debug("Terminal fit skipped: renderer not ready", error); + } catch { + // Expected transient fit failure while xterm initializes. } }, []);