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 <[email protected]>
This commit is contained in:
2026-04-05 16:56:03 -05:00
co-authored by Claude Sonnet 4.6
parent 56dde4126b
commit 8a00b8d3ea
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -8,6 +8,6 @@
"module": "NodeNext",
"moduleResolution": "NodeNext"
},
"include": ["src/**/*", "vitest.config.ts"],
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
}
+1
View File
@@ -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',
],
},