Skip to content

Commit e6070df

Browse files
chantastickentcdodds
authored andcommitted
migrate: copy tsconfig from advanced-react-patt…
1 parent c6ce1fc commit e6070df

File tree

1 file changed

+31
-6
lines changed

1 file changed

+31
-6
lines changed

tsconfig.json

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,32 @@
11
{
2-
"files": [],
3-
"references": [
4-
{"path": "config/tsconfig.exercise.json"},
5-
{"path": "config/tsconfig.final.json"}
6-
]
7-
}
2+
"include": ["**/*.ts", "**/*.tsx", "**/*.cjs"],
3+
"compilerOptions": {
4+
"lib": ["DOM", "DOM.Iterable", "ES2022"],
5+
"isolatedModules": true,
6+
"esModuleInterop": true,
7+
"jsx": "react-jsx",
8+
"module": "nodenext",
9+
"moduleResolution": "nodenext",
10+
"resolveJsonModule": true,
11+
"target": "ES2022",
12+
"strict": true,
13+
"noImplicitAny": true,
14+
"noUncheckedIndexedAccess": true,
15+
"allowJs": true,
16+
"forceConsistentCasingInFileNames": true,
17+
"baseUrl": ".",
18+
"paths": {
19+
"~/*": ["./*"]
20+
},
21+
"skipLibCheck": true,
22+
"allowImportingTsExtensions": true,
23+
"typeRoots": [
24+
"./types",
25+
"./node_modules/@types",
26+
"./node_modules/@kentcdodds/workshop-app/utils"
27+
],
28+
29+
// Remix takes care of building everything in `remix build`.
30+
"noEmit": true
31+
}
32+
}

0 commit comments

Comments
 (0)