|
1 | 1 | {
|
2 |
| - "include": ["ts/**/*.ts", "ts/**/*.js", "build/wrapper/**/*.js", "build/wrapper/**/*.wasm", "build/wrapper/**/*.ts"], |
| 2 | + "include": [ |
| 3 | + "ts/**/*.ts", |
| 4 | + "ts/**/*.js", |
| 5 | + "build/wrapper/**/*.js", |
| 6 | + "build/wrapper/**/*.wasm", |
| 7 | + "build/wrapper/**/*.ts" |
| 8 | + ], |
3 | 9 | "exclude": ["node_modules"],
|
4 | 10 | "compilerOptions": {
|
5 | 11 | /* Basic Options */
|
6 |
| - "incremental": true, /* Enable incremental compilation */ |
7 |
| - "target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ |
8 |
| - "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ |
| 12 | + "incremental": true /* Enable incremental compilation */, |
| 13 | + "target": "es5" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */, |
| 14 | + "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */, |
9 | 15 |
|
10 |
| - "lib": ["es2015", "dom"], /* Specify library files to be included in the compilation. */ |
11 |
| - "allowJs": true, /* Allow javascript files to be compiled. */ |
| 16 | + "lib": ["es2015", "dom"] /* Specify library files to be included in the compilation. */, |
| 17 | + "allowJs": true /* Allow javascript files to be compiled. */, |
12 | 18 | // "checkJs": true, /* Report errors in .js files. */
|
13 | 19 | // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
|
14 |
| - "declaration": true, /* Generates corresponding '.d.ts' file. */ |
| 20 | + "declaration": true /* Generates corresponding '.d.ts' file. */, |
15 | 21 | // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
|
16 |
| - "sourceMap": true, /* Generates corresponding '.map' file. */ |
| 22 | + "sourceMap": true /* Generates corresponding '.map' file. */, |
17 | 23 | // "outFile": "./", /* Concatenate and emit output to single file. */
|
18 |
| - "outDir": "./build/js", /* Redirect output structure to the directory. */ |
| 24 | + "outDir": "./build/js" /* Redirect output structure to the directory. */, |
19 | 25 | // "composite": true, /* Enable project compilation */
|
20 | 26 | // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
|
21 | 27 | // "removeComments": true, /* Do not emit comments to output. */
|
|
25 | 31 | // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
|
26 | 32 |
|
27 | 33 | /* Strict Type-Checking Options */
|
28 |
| - "strict": true, /* Enable all strict type-checking options. */ |
| 34 | + "strict": true /* Enable all strict type-checking options. */, |
29 | 35 | // "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
|
30 | 36 | // "strictNullChecks": true, /* Enable strict null checks. */
|
31 | 37 | // "strictFunctionTypes": true, /* Enable strict checking of function types. */
|
|
35 | 41 | // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
|
36 | 42 |
|
37 | 43 | /* Additional Checks */
|
38 |
| - "noUnusedLocals": true, /* Report errors on unused locals. */ |
| 44 | + "noUnusedLocals": true /* Report errors on unused locals. */, |
39 | 45 | // "noUnusedParameters": true, /* Report errors on unused parameters. */
|
40 |
| - "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ |
41 |
| - "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ |
| 46 | + "noImplicitReturns": true /* Report error when not all code paths in function return a value. */, |
| 47 | + "noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */, |
42 | 48 |
|
43 | 49 | /* Module Resolution Options */
|
44 |
| - "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ |
| 50 | + "moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */, |
45 | 51 | // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
|
46 | 52 | // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
|
47 | 53 | // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
|
48 | 54 | "typeRoots": [
|
49 | 55 | "node_modules/@types",
|
50 |
| - "./node_modules/@snyk/types-tap", |
51 |
| - ], /* List of folders to include type definitions from. */ |
| 56 | + "./node_modules/@snyk/types-tap" |
| 57 | + ] /* List of folders to include type definitions from. */, |
52 | 58 | // "types": [], /* Type declaration files to be included in compilation. */
|
53 | 59 | // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
|
54 |
| - "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ |
| 60 | + "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */, |
55 | 61 | // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
|
56 | 62 | // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
|
57 | 63 |
|
|
66 | 72 | // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
|
67 | 73 |
|
68 | 74 | /* Advanced Options */
|
69 |
| - "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ |
| 75 | + "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ |
70 | 76 | }
|
71 | 77 | }
|
0 commit comments