2017-04-14 04:24:36 +08:00
|
|
|
{
|
|
|
|
"exclude": [
|
|
|
|
"node_modules",
|
|
|
|
"Scripts"
|
2018-03-11 00:09:34 +08:00
|
|
|
],
|
|
|
|
|
|
|
|
"compilerOptions": {
|
|
|
|
"target": "es6",
|
|
|
|
"module": "none",
|
|
|
|
|
|
|
|
/* Strict Type-Checking Options */
|
|
|
|
"strict": true, /* Enable all strict type-checking options. */
|
|
|
|
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
|
|
|
|
"strictNullChecks": true, /* Enable strict null checks. */
|
|
|
|
"noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
|
|
|
|
"alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
|
|
|
|
|
|
|
|
/* 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. */
|
|
|
|
}
|
2017-04-14 04:24:36 +08:00
|
|
|
}
|