-
Notifications
You must be signed in to change notification settings - Fork 43
/
tsconfig.json
42 lines (42 loc) · 1.56 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
{
"compilerOptions": {
"outDir": "src",
"module": "es2015",
"target": "es2015",
"lib": ["es5", "es6", "es7", "es2017", "dom"],
"sourceMap": true,
"allowJs": false, // todo: make this false when all .js files have been converted to .ts/.tsx
"jsx": "react",
"moduleResolution": "node",
"rootDirs": ["src"],
"forceConsistentCasingInFileNames": true,
// "noImplicitReturns": true, // todo: enable this when all .js files have been converted to .ts/.tsx
// "noImplicitThis": true, // todo: enable this when all .js files have been converted to .ts/.tsx
// "noImplicitAny": true, // todo: enable this when all .js files have been converted to .ts/.tsx
// "strictNullChecks": true, // todo: enable this when all .js files have been converted to .ts/.tsx
"removeComments": true,
"suppressImplicitAnyIndexErrors": true,
"noUnusedLocals": true,
"declaration": false, // todo: make this true when all .js files have been converted to .ts/.tsx
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"esModuleInterop": true
},
"include": ["src/**/*"],
"exclude": [
"node_modules",
"build",
"build/lib",
"scripts",
"es",
"lib",
"tests/**",
".storybook/**",
".idea",
".html",
"src/**/*.test.js",
"src/**/*.test.ts",
"src/**/*.stories.js",
"src/**/*.stories.ts"
]
}