|
1 | 1 | { |
2 | | - "$schema": "https://json.schemastore.org/tsconfig", |
3 | | - "compilerOptions": { |
4 | | - "module": "commonjs", |
5 | | - "target": "es6", |
6 | | - "outDir": "out", |
7 | | - "lib": ["es2015", "dom", "es7"], |
8 | | - "types": ["node"], |
9 | | - "strict": true, |
10 | | - "skipLibCheck": true, |
11 | | - "strictNullChecks": true, |
12 | | - "forceConsistentCasingInFileNames": true, |
13 | | - "strictPropertyInitialization": true, |
14 | | - "noImplicitAny": true, |
15 | | - "sourceMap": true, |
16 | | - "rootDir": "packages", |
17 | | - "noUnusedLocals": true, |
18 | | - "noUnusedParameters": true, |
19 | | - "allowSyntheticDefaultImports": true, |
20 | | - "esModuleInterop": true, |
21 | | - "importHelpers": true, |
22 | | - "noEmitOnError": true |
23 | | - }, |
24 | | - "exclude": ["node_modules", "scripts"], |
25 | | - "linterOptions": { |
26 | | - "exclude": ["node_modules/**", "scripts/**"] |
27 | | - } |
| 2 | + "$schema": "https://json.schemastore.org/tsconfig", |
| 3 | + "compilerOptions": { |
| 4 | + "module": "commonjs", |
| 5 | + "target": "es6", |
| 6 | + "outDir": "out", |
| 7 | + "lib": [ |
| 8 | + "es2015", |
| 9 | + "dom", |
| 10 | + "es7" |
| 11 | + ], |
| 12 | + "types": [ |
| 13 | + "node" |
| 14 | + ], |
| 15 | + "typeRoots": [ |
| 16 | + "node_modules/@types" |
| 17 | + ], |
| 18 | + "strict": true, |
| 19 | + /* Enable all strict type-checking options. */ |
| 20 | + "skipLibCheck": true, |
| 21 | + "strictNullChecks": true, |
| 22 | + /* Enable strict null checks. */ |
| 23 | + "forceConsistentCasingInFileNames": true, |
| 24 | + "alwaysStrict": true, |
| 25 | + "useUnknownInCatchVariables": false, |
| 26 | + "noErrorTruncation": true, |
| 27 | + "extendedDiagnostics": true, |
| 28 | + "emitDeclarationOnly": true, |
| 29 | + "declarationMap": true, |
| 30 | + /* Parse in strict mode and emit "use strict" for each source file. */ |
| 31 | + "noImplicitThis": true, |
| 32 | + /* Raise error on 'this' expressions with an implied 'any' type. */ |
| 33 | + "strictPropertyInitialization": true, |
| 34 | + /* Enable strict checking of property initialization in classes. */ |
| 35 | + "strictFunctionTypes": true, |
| 36 | + /* Enable strict checking of function types. */ |
| 37 | + "noImplicitAny": true, |
| 38 | + /* Raise error on expressions and declarations with an implied 'any' type. */ |
| 39 | + "sourceMap": true, |
| 40 | + "rootDir": "packages", |
| 41 | + "noUnusedLocals": true, |
| 42 | + /* Report errors on unused locals. */ |
| 43 | + "noUnusedParameters": true, |
| 44 | + /* Report errors on unused parameters. */ |
| 45 | + "noImplicitReturns": true, |
| 46 | + /* Report error when not all code paths in function return a value. */ |
| 47 | + "noFallthroughCasesInSwitch": true, |
| 48 | + /* Report errors for fallthrough cases in switch statement. */ |
| 49 | + "allowSyntheticDefaultImports": true, |
| 50 | + "esModuleInterop": true, |
| 51 | + /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ |
| 52 | + "importHelpers": true, |
| 53 | + "noEmitOnError": true, |
| 54 | + "declaration": true, |
| 55 | + "inlineSourceMap": true, |
| 56 | + "traceResolution": false |
| 57 | + /* Report module resolution log messages. */, |
| 58 | + "listEmittedFiles": false |
| 59 | + /* Print names of generated files part of the compilation. */, |
| 60 | + "listFiles": false |
| 61 | + /* Print names of files part of the compilation. */, |
| 62 | + "pretty": true |
| 63 | + /* Stylize errors and messages using color and context. */ |
| 64 | + /* Experimental Options */ |
| 65 | + // "experimentalDecorators": true /* Enables experimental support for ES7 decorators. */, |
| 66 | + // "emitDecoratorMetadata": true /* Enables experimental support for emitting type metadata for decorators. */, |
| 67 | + }, |
| 68 | + "exclude": [ |
| 69 | + "node_modules", |
| 70 | + "scripts" |
| 71 | + ], |
| 72 | + "linterOptions": { |
| 73 | + "exclude": [ |
| 74 | + "node_modules/**", |
| 75 | + "scripts/**" |
| 76 | + ] |
| 77 | + } |
28 | 78 | } |
0 commit comments