-
Notifications
You must be signed in to change notification settings - Fork 10
/
tsconfig.json
62 lines (56 loc) · 1.83 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
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"$schema": "http://json.schemastore.org/tsconfig",
"compilerOptions": {
/* Language and Environment */
"target": "es2016",
"lib": ["DOM", "ESNext"],
"jsx": "react-jsx",
"moduleDetection": "auto",
/* Modules */
"module": "CommonJS",
"moduleResolution": "node",
"rootDir": "./",
"typeRoots": ["./src/@types", "./node_modules/@types"],
"baseUrl": "./",
"paths": {
"@/*": ["./src/*"]
},
"resolveJsonModule": true,
/* JavaScript Support */
"allowJs": true,
"checkJs": false,
/* Emit */
"sourceMap": true, // Enable source maps for improved sentry
"sourceRoot": "/", // Set source root to root of project for improved sentry
"inlineSources": true,
"declaration": false,
"declarationMap": false,
"outDir": "./dist",
"removeComments": true,
/* Interop Constraints */
"isolatedModules": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
/* Type Checking */
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"alwaysStrict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"allowUnreachableCode": false,
/* Completeness */
"skipLibCheck": true
},
"include": ["./src/**/*", "./scripts/**/*"],
"exclude": ["node_modules"]
}