From 692d4d89d67c4b3f81dcb0f11f25b7203b4217fe Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Tue, 9 Jun 2026 12:35:57 -0700 Subject: [PATCH] update configs --- server/eslint.config.js | 2 +- server/jest.config.ts | 1 - server/tsconfig.json | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/eslint.config.js b/server/eslint.config.js index 817f54bc2..b10e75f6b 100755 --- a/server/eslint.config.js +++ b/server/eslint.config.js @@ -39,7 +39,7 @@ export default [ }, }, rules: { - "@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_" }], // Ignore unused variables that start with '_' + "@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_", varsIgnorePattern: "^_" }], // Ignore unused variables that start with '_' "@typescript-eslint/no-explicit-any": "warn", // Warn on 'any' types "mocha/max-top-level-suites": "warn", // Warn if there are too many top-level suites instead of failing }, diff --git a/server/jest.config.ts b/server/jest.config.ts index 1faf98181..c56ce1419 100644 --- a/server/jest.config.ts +++ b/server/jest.config.ts @@ -8,7 +8,6 @@ const config: Config = { "^.+\\.(t|j)sx?$": ["ts-jest", { useESM: true, tsconfig: "./tsconfig.jest.json" }], }, moduleNameMapper: { - "^@/validation/(.*)\\.js$": "/src/validation/$1.js", "^@/utils/(.*)\\.js$": "/src/utils/$1.ts", "^@/(.*)\\.ts$": "/src/$1.ts", "^@/(.*)\\.js$": "/src/$1.ts", diff --git a/server/tsconfig.json b/server/tsconfig.json index d4544d9bb..41f1ab64c 100644 --- a/server/tsconfig.json +++ b/server/tsconfig.json @@ -2,6 +2,7 @@ "compilerOptions": { "allowJs": true, "checkJs": false, + "baseUrl": ".", "paths": { "@/*": ["./src/*"] },