fix(runtime-tests): use ignorePatterns for lint, not the invalid exclude

`lint.exclude` is not a property of OxlintConfig (the correct key is
`ignorePatterns`). The invalid property failed defineConfig overload
resolution, which surfaced as a TS2769 plus a TS2321 excessive-stack-depth
error against the recursive vitest-augmented UserConfig. Using
`ignorePatterns` excludes the PTY fixtures from lint as intended and clears
both config type errors.
This commit is contained in:
Yunfei He
2026-05-28 17:07:39 +08:00
parent 304fdf2e21
commit ab3ae78ba2
+1 -1
View File
@@ -11,7 +11,7 @@ export default defineConfig({
},
lint: {
options: { typeAware: true, typeCheck: true },
exclude: ["integration/pty/fixtures/**"],
ignorePatterns: ["integration/pty/fixtures/**"],
},
fmt: {},
});