From 78eb3df8ec2f24e021f05792d76ac257e4936c73 Mon Sep 17 00:00:00 2001 From: Simon Boudrias Date: Fri, 27 Sep 2024 16:30:40 -0400 Subject: [PATCH] Chore: Also cover vitest.config.ts --- eslint.config.js | 2 +- tsconfig.test.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index 5b5873ed2..0680c2b65 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -45,7 +45,7 @@ export default tseslint.config( languageOptions: { parserOptions: { projectService: { - allowDefaultProject: ['packages/*/*.test.mts'], + allowDefaultProject: ['vitest.config.ts', 'packages/*/*.test.mts'], defaultProject: './tsconfig.test.json', maximumDefaultProjectFileMatchCount_THIS_WILL_SLOW_DOWN_LINTING: 20, }, diff --git a/tsconfig.test.json b/tsconfig.test.json index 22d6a6b2c..df61b53e2 100644 --- a/tsconfig.test.json +++ b/tsconfig.test.json @@ -1,6 +1,6 @@ { "extends": "@repo/tsconfig", - "include": ["**/*.test.mts", "**/*.d.ts"], + "include": ["vitest.config.ts", "**/*.test.mts", "**/*.d.ts"], "compilerOptions": { "skipLibCheck": true, "noEmit": true