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
This commit is contained in:
parent
654aa421e9
commit
b665d9c99e
27
oxlint.json
27
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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue