-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
28 lines (24 loc) · 2.02 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"compilerOptions": {
"target": "ESNext", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"module": "ESnext",
"lib": ["DOM", "DOM.Iterable", "ESNext"], /* Specify library files to be included in the compilation. */
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
/* Bundler mode */
"moduleResolution": "bundler", /* Specify how TypeScript looks up a file from a given module specifier. */
"allowImportingTsExtensions": true, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */
"resolveJsonModule": true, /* Enable importing .json files. */
"isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
"noEmit": true, /* Disable emitting files from a compilation. */
"jsx": "react-jsx", /* Specify what JSX code is generated. */
/* Linting */
"strict": false, /* Enable all strict type-checking options. */
"noUnusedLocals": false, /* Enable error reporting when local variables aren't read. */
"noUnusedParameters": false, /* Raise an error when a function parameter isn't read. */
"noFallthroughCasesInSwitch": false, /* Enable error reporting for fallthrough cases in switch statements. */
/* Completeness*/
"skipLibCheck": true /* Skip type checking all .d.ts files. */
},
"include": ["src"],
"references": [{ "path": "./tsconfig.node.json" }]
}