-
Notifications
You must be signed in to change notification settings - Fork 3
/
tsconfig.json
36 lines (29 loc) · 1.47 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
{
"compileOnSave": true,
"compilerOptions": {
"outDir": "js",
"watch": true,
"alwaysStrict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"sourceMap": true,
"module": "amd",
"lib": [ "es6", "dom" ],
"target": "es5",
"skipLibCheck": true, // Skip type checking of all declaration files (*.d.ts).
// If you have wrong casing in referenced files e.g. the filename is Global.ts and you have a /// <reference path="global.ts" /> to reference this file, then this can cause to unexpected errors. Visite: http://stackoverflow.com/questions/36628612/typescript-transpiler-casing-issue
"forceConsistentCasingInFileNames": true, // Disallow inconsistently-cased references to the same file.
"allowUnreachableCode": false, // Do not report errors on unreachable code. (Default: False)
"allowUnusedLabels": false, // Do not report errors on unused labels. (Default: False)
"noFallthroughCasesInSwitch": true, // Report errors for fall through cases in switch statement.
"noImplicitReturns": true, // Report error when not all code paths in function return a value.
// "noUnusedParameters": true, // Report errors on unused parameters.
"noUnusedLocals": true, // Report errors on unused locals.
"noImplicitThis": true, // Raise error on this expressions with an implied "any" type.
"noEmitOnError": true // Do not emit outputs if any errors were reported.
},
"exclude": [
"node_modules"
],
"sourceMap": true
}