update configs

This commit is contained in:
Alex Holliday committed 2026-06-09 12:35:57 -07:00
1 parent f1b104b78d
commit 692d4d89d6
3 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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
},
-1
View File
@@ -8,7 +8,6 @@ const config: Config = {
"^.+\\.(t|j)sx?$": ["ts-jest", { useESM: true, tsconfig: "./tsconfig.jest.json" }],
},
moduleNameMapper: {
"^@/validation/(.*)\\.js$": "<rootDir>/src/validation/$1.js",
"^@/utils/(.*)\\.js$": "<rootDir>/src/utils/$1.ts",
"^@/(.*)\\.ts$": "<rootDir>/src/$1.ts",
"^@/(.*)\\.js$": "<rootDir>/src/$1.ts",
+1
View File
@@ -2,6 +2,7 @@
"compilerOptions": {
"allowJs": true,
"checkJs": false,
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
},