|
11 | 11 | // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
|
12 | 12 |
|
13 | 13 | /* Language and Environment */
|
14 |
| - "target": "ES2020", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ |
| 14 | + "target": "ES2020" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, |
15 | 15 | // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
|
16 | 16 | // "jsx": "preserve", /* Specify what JSX code is generated. */
|
17 | 17 | // "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */
|
|
24 | 24 | // "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
|
25 | 25 |
|
26 | 26 | /* Modules */
|
27 |
| - "module": "ES6", /* Specify what module code is generated. */ |
| 27 | + "module": "ES6" /* Specify what module code is generated. */, |
28 | 28 | // "rootDir": "./", /* Specify the root folder within your source files. */
|
29 |
| - "moduleResolution": "node16", /* Specify how TypeScript looks up a file from a given module specifier. */ |
| 29 | + "moduleResolution": "bundler" /* Specify how TypeScript looks up a file from a given module specifier. */, |
30 | 30 | // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
31 | 31 | // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
32 | 32 | // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
|
|
37 | 37 | // "noResolve": true, /* Disallow `import`s, `require`s or `<reference>`s from expanding the number of files TypeScript should add to a project. */
|
38 | 38 |
|
39 | 39 | /* JavaScript Support */
|
40 |
| - "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files. */ |
| 40 | + "allowJs": true /* Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files. */, |
41 | 41 | // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
|
42 | 42 | // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from `node_modules`. Only applicable with `allowJs`. */
|
43 | 43 |
|
44 | 44 | /* Emit */
|
45 |
| - "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ |
46 |
| - "declarationMap": true, /* Create sourcemaps for d.ts files. */ |
| 45 | + "declaration": true /* Generate .d.ts files from TypeScript and JavaScript files in your project. */, |
| 46 | + "declarationMap": true /* Create sourcemaps for d.ts files. */, |
47 | 47 | // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
|
48 |
| - "sourceMap": true, /* Create source map files for emitted JavaScript files. */ |
| 48 | + "sourceMap": true /* Create source map files for emitted JavaScript files. */, |
49 | 49 | // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If `declaration` is true, also designates a file that bundles all .d.ts output. */
|
50 |
| - "outDir": "./dist", /* Specify an output folder for all emitted files. */ |
| 50 | + "outDir": "./dist" /* Specify an output folder for all emitted files. */, |
51 | 51 | // "removeComments": true, /* Disable emitting comments. */
|
52 | 52 | // "noEmit": true, /* Disable emitting files from a compilation. */
|
53 | 53 | // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
|
|
69 | 69 | /* Interop Constraints */
|
70 | 70 | // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
|
71 | 71 | // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
|
72 |
| - "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */ |
| 72 | + "esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */, |
73 | 73 | // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
|
74 |
| - "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ |
| 74 | + "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */, |
75 | 75 |
|
76 | 76 | /* Type Checking */
|
77 |
| - "strict": true, /* Enable all strict type-checking options. */ |
| 77 | + "strict": true /* Enable all strict type-checking options. */, |
78 | 78 | // "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied `any` type.. */
|
79 | 79 | // "strictNullChecks": true, /* When type checking, take into account `null` and `undefined`. */
|
80 | 80 | // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
|
|
96 | 96 |
|
97 | 97 | /* Completeness */
|
98 | 98 | // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
|
99 |
| - "skipLibCheck": true /* Skip type checking all .d.ts files. */ |
| 99 | + "skipLibCheck": true /* Skip type checking all .d.ts files. */ |
100 | 100 | },
|
101 | 101 | "include": ["src/**/*", "tests/**/*"],
|
102 |
| - "exclude": [ |
103 |
| - "./cypress.config.ts", |
104 |
| - "node_modules", |
105 |
| - "cypress", |
106 |
| - "**/*.cy.tsx" |
107 |
| - ] |
| 102 | + "exclude": ["./cypress.config.ts", "node_modules", "cypress", "**/*.cy.tsx"] |
108 | 103 | }
|
0 commit comments