From b665d9c99e2f7540b1b1116af198239b7502e54c Mon Sep 17 00:00:00 2001 From: Danila Poyarkov Date: Wed, 6 May 2026 02:33:31 +0300 Subject: [PATCH] chore(lint): narrow test output exceptions - Replace broad test no-console and max-lines disables with file-specific overrides - Keep empty-function disabled broadly for test mocks and no-op fixtures - Preserve clean check output while reducing global test lint carve-outs --- oxlint.json | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/oxlint.json b/oxlint.json index d817ba1f6..b8d2bf20b 100644 --- a/oxlint.json +++ b/oxlint.json @@ -169,8 +169,6 @@ "no-empty-function": "off", "typescript/consistent-type-imports": "off", "open-pencil/no-inline-named-types": "off", - "no-console": "off", - "max-lines": "off", "complexity": "off" } }, @@ -203,6 +201,31 @@ "open-pencil/no-raw-console-format": "error" } }, + { + "files": [ + "tests/e2e/perf/basic.spec.ts", + "tests/e2e/viewport/zoom-pan.spec.ts", + "tests/engine/visual-*.ts" + ], + "rules": { + "no-console": "off" + } + }, + { + "files": [ + "tests/engine/editor/clipboard/import-nodes.test.ts", + "tests/engine/fig/import/legacy.test.ts", + "tests/engine/figma/api.test.ts", + "tests/engine/kiwi/serialize-fixes.test.ts", + "tests/engine/layout/auto-layout.test.ts", + "tests/engine/render/canvas/effects.test.ts", + "tests/engine/scene-graph/basic.test.ts", + "tests/engine/svg/export.test.ts" + ], + "rules": { + "max-lines": "off" + } + }, { "files": [ "tests/engine/copy.test.ts",