Skip to content

Commit 03be6ba

Browse files
committed
chore: Unify ts.config.json
1 parent 6a35535 commit 03be6ba

File tree

2 files changed

+5
-27
lines changed

2 files changed

+5
-27
lines changed

packages/ui/tsconfig.json

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,4 @@
11
{
2-
"compilerOptions": {
3-
"target": "ESNext",
4-
"jsx": "react-jsx",
5-
"lib": ["ESNext", "DOM"],
6-
"useDefineForClassFields": true,
7-
"baseUrl": ".",
8-
"module": "ESNext",
9-
"moduleResolution": "bundler",
10-
"paths": {
11-
"@/*": ["./src/*"],
12-
"~/*": ["./*"]
13-
},
14-
"resolveJsonModule": true,
15-
"allowImportingTsExtensions": true,
16-
/* Linting */
17-
"strict": true,
18-
"strictNullChecks": true,
19-
"noUnusedLocals": false,
20-
"noEmit": true,
21-
"allowSyntheticDefaultImports": true,
22-
"esModuleInterop": true,
23-
"forceConsistentCasingInFileNames": true,
24-
"isolatedModules": true
25-
},
26-
"include": ["./**/*.ts", "./**/*.tsx"],
27-
"exclude": ["node_modules", "dist"]
2+
"extends": "../../tsconfig.base.json",
3+
"include": ["./**/*.ts", "./**/*.tsx"]
284
}

tsconfig.base.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
{
22
"compilerOptions": {
33
"target": "ESNext",
4-
"jsx": "preserve",
4+
"jsx": "react-jsx",
55
"lib": ["DOM", "ESNext"],
6+
"useDefineForClassFields": true,
67
"baseUrl": ".",
78
"module": "ESNext",
89
"moduleResolution": "bundler",
910
"resolveJsonModule": true,
11+
"allowImportingTsExtensions": true,
1012
"strict": true,
1113
"strictNullChecks": true,
1214
"noImplicitThis": true,

0 commit comments

Comments
 (0)