From eeb39cfc0aefb0d5228cadf433b08ab86e02ca7f Mon Sep 17 00:00:00 2001 From: Jarvis Date: Sun, 5 Apr 2026 16:56:03 -0500 Subject: [PATCH] fix: add vitest.config.ts to eslint allowDefaultProject, revert tsconfig include vitest.config.ts is not under apps/gateway/src (rootDir), so including it in tsconfig.json broke the build. Instead, add it to the eslint allowDefaultProject list so the typescript-eslint parser can lint it without being covered by the project tsconfig. Co-Authored-By: Claude Sonnet 4.6 --- apps/gateway/tsconfig.json | 2 +- eslint.config.mjs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/gateway/tsconfig.json b/apps/gateway/tsconfig.json index 135e768..b6f1494 100644 --- a/apps/gateway/tsconfig.json +++ b/apps/gateway/tsconfig.json @@ -8,6 +8,6 @@ "module": "NodeNext", "moduleResolution": "NodeNext" }, - "include": ["src/**/*", "vitest.config.ts"], + "include": ["src/**/*"], "exclude": ["node_modules", "dist"] } diff --git a/eslint.config.mjs b/eslint.config.mjs index f105948..9e610ad 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -27,6 +27,7 @@ export default tseslint.config( 'apps/web/e2e/*.ts', 'apps/web/e2e/helpers/*.ts', 'apps/web/playwright.config.ts', + 'apps/gateway/vitest.config.ts', 'packages/mosaic/__tests__/*.ts', ], }, -- 2.49.1