Skip to content

Commit c4f7be1

Browse files
committed
lint: ignore eval fixtures in the type-checked eslint configs
Eval fixtures are sandbox workspaces with their own package.json/tsconfig, not repo code. Their EVAL.ts files may import modules that only resolve inside the sandbox (@vercel/agent-eval/eval) and are excluded from the fixture tsconfig, so type-aware linting with `project: true` fails to place them in a project. Both ignore lists (eslint.cli.config.mjs and its mirror block) stay in sync.
1 parent 58a13bb commit c4f7be1

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

‎eslint.cli.config.mjs‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ export default defineConfig([
1515
// files. Keep both in sync if you change the globs.
1616
ignores: [
1717
'bench/**/*',
18+
// Eval fixtures are sandbox workspaces with their own package.json and
19+
// tsconfig, not repo code — EVAL.ts files may import modules that only
20+
// resolve inside the sandbox (e.g. @vercel/agent-eval/eval).
21+
'evals/evals/**/*',
1822
'examples/**/*',
1923
'test/**/*',
2024
'**/*.d.ts',

‎eslint.config.mjs‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,10 @@ export default defineConfig([
404404
files: ['**/*.ts', '**/*.tsx'],
405405
ignores: [
406406
'bench/**/*',
407+
// Eval fixtures are sandbox workspaces with their own package.json and
408+
// tsconfig, not repo code — EVAL.ts files may import modules that only
409+
// resolve inside the sandbox (e.g. @vercel/agent-eval/eval).
410+
'evals/evals/**/*',
407411
'examples/**/*',
408412
'test/**/*',
409413
'**/*.d.ts',

0 commit comments

Comments
 (0)