Skip to content

Commit c5ce1e7

Browse files
committed
refactor: move to tsconfig.json
Signed-off-by: Christian Stewart <christian@aperture.us>
1 parent 5ae815a commit c5ce1e7

File tree

2 files changed

+24
-31
lines changed

2 files changed

+24
-31
lines changed

tsconfig.app.json

-26
This file was deleted.

tsconfig.json

+24-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,26 @@
11
{
2-
"files": [],
3-
"references": [
4-
{ "path": "./tsconfig.app.json" },
5-
{ "path": "./tsconfig.node.json" }
6-
]
2+
"compilerOptions": {
3+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
4+
"target": "ES2020",
5+
"useDefineForClassFields": true,
6+
"lib": ["ES2020", "DOM", "DOM.Iterable"],
7+
"module": "ESNext",
8+
"skipLibCheck": true,
9+
10+
/* Bundler mode */
11+
"moduleResolution": "bundler",
12+
"allowImportingTsExtensions": true,
13+
"isolatedModules": true,
14+
"moduleDetection": "force",
15+
"noEmit": true,
16+
"jsx": "react-jsx",
17+
18+
/* Linting */
19+
"strict": true,
20+
"noUnusedLocals": true,
21+
"noUnusedParameters": true,
22+
"noFallthroughCasesInSwitch": true,
23+
"noUncheckedSideEffectImports": true
24+
},
25+
"include": ["src", "example"]
726
}

0 commit comments

Comments
 (0)