forked from open-source-labs/Swell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
34 lines (32 loc) · 1.58 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
{
"compilerOptions": {
/* Basic Options */
"sourceMap": true, // allow sourcemap support
"module": "es6", // specify module code generation
"jsx": "react", // use typescript to transpile jsx to js
"target": "ESNext", // specify ECMAScript target version
"allowJs": true, // allow a partial TypeScript and JavaScript codebase
"noEmit": true, // don't emit; allow Babel to transform files
/* Strict Type-Checking Options */
"noImplicitAny": true /* Raise error on expressions and declarations with an implied 'any' type. */,
"strict": true /* Enable all strict type-checking options. */,
"strictNullChecks": true, // enable strict null checks as a best practice
"noImplicitThis": true,
"noImplicitReturns": true,
/* Additional Checks */
"noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */,
/* Module Resolution Options */
"moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
/* Advanced Options */
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
},
"include": [
"./src/**/*.ts",
"./src/**/*.tsx",
"./main_process/*.ts",
"src/assets/**/*.ts"
],
"exclude": ["node_modules", "dist", "build", "coverage", "mocks"],
"typeRoots": ["./node_modules/@types"]
}