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:
@@ -11,7 +11,7 @@ export default defineConfig({
|
||||
},
|
||||
lint: {
|
||||
options: { typeAware: true, typeCheck: true },
|
||||
exclude: ["integration/pty/fixtures/**"],
|
||||
ignorePatterns: ["integration/pty/fixtures/**"],
|
||||
},
|
||||
fmt: {},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user