This repository has been archived by the owner on Mar 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
49 lines (48 loc) · 1.79 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// @see https://www.typescriptlang.org/tsconfig
// @see https://devblogs.microsoft.com/typescript/announcing-typescript-4-5-beta/
{
"include": ["src"],
"exclude": ["node_modules", "**/*.test.tsx?", "src/setupTests.ts"],
"compilerOptions": {
"allowJs": true,
"allowSyntheticDefaultImports": true, // for import react from "react"
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"alwaysStrict": true,
"baseUrl": "./", // enables import { B } from 'src/a/b' without './'
"checkJs": false,
"declaration": true,
"declarationMap": true,
"emitDecoratorMetadata": true,
"esModuleInterop": true,
"exactOptionalPropertyTypes": false,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": false, // fks with webpck plugins, e.g. responsive-loader
"importHelpers": true,
"isolatedModules": true,
"jsx": "react-jsx",
"jsxImportSource": "@emotion/react",
"lib": ["dom", "dom.iterable", "esnext"],
"module": "ESNext", // active js runtime
"moduleResolution": "node", // should be nodenext @see https://github.com/emotion-js/emotion/issues/2742
"noEmitOnError": false,
"noFallthroughCasesInSwitch": false,
"noImplicitAny": false,
"noImplicitOverride": true,
"noImplicitReturns": false,
"noImplicitThis": true,
"noPropertyAccessFromIndexSignature": false,
"noUnusedLocals": true /* Report errors on unused locals. */,
"noUnusedParameters": true /* Report errors on unused parameters. */,
"outDir": "dist",
// "paths": {}, // map import keys to file paths
"pretty": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"target": "es2017"
// "typeRoots": ["./src/@types", "./node_modules/@types"]
// "noEmit": true,
}
}