"update tsconfig patterns and compiler options across all projects"

This commit is contained in:
louiscklaw
2025-06-15 12:08:17 +08:00
parent 02058981bf
commit 1216bef8f8
5 changed files with 30 additions and 30 deletions

View File

@@ -34,9 +34,8 @@
"node_modules", "node_modules",
".next", ".next",
// //
"**/* copy *.tsx", "**/* copy *.*",
"**/* copy.tsx", "**/* copy.*",
"**/*.bak",
"**/*.bak", "**/*.bak",
"**/*.bug", "**/*.bug",
"**/*.del", "**/*.del",

View File

@@ -1,39 +1,35 @@
{ {
"compilerOptions": { "compilerOptions": {
"allowJs": true,
/* Bundler */ /* Bundler */
"baseUrl": ".", "baseUrl": ".",
"module": "ESNext", "esModuleInterop": true,
"incremental": true,
"isolatedModules": true,
"jsx": "react-jsx", "jsx": "react-jsx",
"allowJs": true,
"resolveJsonModule": true,
/* Build */
"target": "ES2020",
"lib": [ "lib": [
"ES2020", "ES2020",
"DOM", "DOM",
"DOM.Iterable" "DOM.Iterable"
], ],
"module": "ESNext",
"moduleResolution": "bundler", "moduleResolution": "bundler",
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", "noEmit": true,
"incremental": true, "resolveJsonModule": true,
"skipLibCheck": true, "skipLibCheck": true,
"esModuleInterop": true,
"isolatedModules": true,
/* Linting */ /* Linting */
"strict": true, "strict": true,
"noEmit": true, "strictNullChecks": true,
"strictNullChecks": true /* Build */
"target": "ES2020",
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo"
}, },
"include": [
"src"
],
"exclude": [ "exclude": [
"node_modules", "node_modules",
".next", ".next",
// //
"**/* copy *.tsx", "**/* copy *.*",
"**/* copy.tsx", "**/* copy.*",
"**/*.bak",
"**/*.bak", "**/*.bak",
"**/*.bug", "**/*.bug",
"**/*.del", "**/*.del",
@@ -42,9 +38,12 @@
"**/*.tmp", "**/*.tmp",
"**/*del" "**/*del"
], ],
"include": [
"src"
],
"references": [ "references": [
{ {
"path": "./tsconfig.node.json" "path": "./tsconfig.node.json"
} }
], ]
} }

View File

@@ -6,8 +6,8 @@
"allowSyntheticDefaultImports": true "allowSyntheticDefaultImports": true
}, },
"exclude": [ "exclude": [
"**/* copy *.tsx", "**/* copy *.*",
"**/* copy.tsx", "**/* copy.*",
"**/*.bak", "**/*.bak",
"**/*.bak", "**/*.bak",
"**/*.bug", "**/*.bug",
@@ -16,5 +16,8 @@
"**/*.log", "**/*.log",
"**/*.tmp", "**/*.tmp",
"**/*del" "**/*del"
], "include": ["vite.config.ts"] ],
"include": [
"vite.config.ts"
]
} }

View File

@@ -24,9 +24,8 @@
"node_modules", "node_modules",
".next", ".next",
// //
"**/* copy *.tsx", "**/* copy *.*",
"**/* copy.tsx", "**/* copy.*",
"**/*.bak",
"**/*.bak", "**/*.bak",
"**/*.bug", "**/*.bug",
"**/*.del", "**/*.del",

View File

@@ -1,9 +1,9 @@
{ {
"compilerOptions": { "compilerOptions": {
"allowSyntheticDefaultImports": true,
"composite": true, "composite": true,
"module": "ESNext", "module": "ESNext",
"moduleResolution": "Node", "moduleResolution": "Node"
"allowSyntheticDefaultImports": true
}, },
"exclude": [ "exclude": [
"**/* copy *.tsx", "**/* copy *.tsx",