From 4ae2c568c69ee422afa134c419ac211875930d0c Mon Sep 17 00:00:00 2001 From: lila Date: Sat, 2 May 2026 12:15:23 +0200 Subject: [PATCH] fix: resolve ESLint config file ignores and project service coverage --- eslint.config.mjs | 13 +++++++++---- packages/db/tsconfig.json | 1 + 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 4d2c015..a88b6f1 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -10,8 +10,6 @@ export default defineConfig([ globalIgnores([ "**/dist/**", "node_modules/", - "eslint.config.mjs", - "**/*.config.ts", "routeTree.gen.ts", "scripts/**", "data-pipeline/**/*", @@ -24,12 +22,19 @@ export default defineConfig([ { languageOptions: { parserOptions: { - projectService: true, + projectService: { allowDefaultProject: ["*.mjs", "*.ts"] }, tsconfigRootDir: import.meta.dirname, }, }, }, - + { + files: ["eslint.config.mjs"], + rules: { + "@typescript-eslint/no-unsafe-member-access": "off", + "@typescript-eslint/no-unsafe-assignment": "off", + "@typescript-eslint/no-unsafe-call": "off", + }, + }, { files: ["apps/web/**/*.{ts,tsx}"], extends: [ diff --git a/packages/db/tsconfig.json b/packages/db/tsconfig.json index af1fba6..c8c1b3a 100644 --- a/packages/db/tsconfig.json +++ b/packages/db/tsconfig.json @@ -10,6 +10,7 @@ "include": [ "src", "vitest.config.ts", + "drizzle.config.ts", "../../data-pipeline/archive/packages-db-src-old-seeding-scripts/data" ] }