-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
56 lines (53 loc) · 1.68 KB
/
tsconfig.json
File metadata and controls
56 lines (53 loc) · 1.68 KB
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
{
"compilerOptions": {
"rootDir": "src",
"declaration": true,
"declarationDir": "build",
"baseUrl": ".",
"module": "esnext",
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"es2016",
"es2017",
"esnext"
],
"sourceMap": true,
"downlevelIteration": true,
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "react",
"noImplicitAny": false,
/* Additional Checks */
"noUnusedLocals": true /* Report errors on unused locals. */,
"noUnusedParameters": true /* Report errors on unused parameters. */,
"noImplicitReturns": true /* Report error when not all code paths in function return a value. */,
"noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */,
/* Experimental Options */
"experimentalDecorators": true /* Enables experimental support for ES7 decorators. */,
"emitDecoratorMetadata": true /* Enables experimental support for emitting type metadata for decorators. */,
/* Advanced Options */
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
},
"include": [
// TODO: Uncomment these - all code should be compiled and linted
// TODO: Change all js to ts
// "jest.config.js",
// "rollup.config.js",
// "*.ts",
// ".storybook/**/*",
"src/**/*",
],
"exclude": [
"node_modules",
"build",
"storybook-static"
]
}