Align lint and type-check configuration

This commit is contained in:
Kari Lintulaakso
2025-11-20 15:19:21 +02:00
parent 65e5c0175b
commit 69a093e7e1
5 changed files with 64 additions and 17 deletions
+3 -3
View File
@@ -22,7 +22,7 @@
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"baseUrl": ".",
"types": ["node", "jest"],
"types": ["vite/client", "jest", "node"],
"paths": {
"@/*": ["./src/*"],
"@components/*": ["./src/components/*"],
@@ -30,8 +30,8 @@
"@shared/*": ["../shared/*"]
}
},
"include": ["src", "tests"],
"exclude": ["../backend/**/*", "./src/country_data/**"],
"include": ["src", "tests", "vite.config.ts", "jest.config.ts"],
"exclude": ["../backend/**/*", "./src/country_data/**", "node_modules", "dist"],
"references": [{ "path": "./tsconfig.node.json" }]
}