|
1 | 1 | { |
| 2 | + "extends": "../ts/tsconfig.json", |
2 | 3 | "compilerOptions": { |
3 | | - /* Basic Options */ |
4 | | - "target": "ES2018", |
5 | 4 | "module": "esnext", |
6 | 5 | "lib": ["dom", "ESNext"], |
7 | | - /* |
8 | | - * Allow javascript files to be compiled. |
9 | | - * Override this in modules that need JS |
10 | | - */ |
11 | | - "noEmit": true, |
12 | 6 | "jsx": "preserve", |
13 | 7 | "preserveWatchOutput": true, |
14 | | - // "checkJs": true, /* Report errors in .js files. */ |
15 | | - // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ |
16 | | - /* Generates corresponding '.d.ts' file. */ |
17 | | - // "declaration": true, |
18 | | - // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */ |
19 | | - /* Generates corresponding '.map' file. */ |
20 | | - "sourceMap": true, |
21 | | - /* Import emit helpers from 'tslib'. */ |
22 | | - "importHelpers": true, |
23 | | - "strictNullChecks": true, |
24 | | - // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */ |
25 | | - // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */ |
26 | | - /* Strict Type-Checking Options */ |
27 | | - // "traceResolution": true, |
28 | | - "strict": true, |
29 | | - "noImplicitAny": false, |
30 | 8 | "noImplicitThis": false, |
31 | | - "forceConsistentCasingInFileNames": true, |
32 | | - /** |
33 | | - * Skip type checking of all declaration files (*.d.ts). |
34 | | - * TODO: Look into changing this in the future |
35 | | - */ |
36 | | - /* Additional Checks */ |
37 | | - "skipLibCheck": true, |
38 | | - /* Report errors on unused locals. */ |
39 | | - // "noEmit": true, |
40 | | - "noUnusedLocals": false, |
41 | | - // "noUnusedParameters": true, /* Report errors on unused parameters. */ |
42 | | - /* Report error when not all code paths in function return a value. */ |
43 | | - "noImplicitReturns": true, |
44 | | - // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ |
45 | | - /* Module Resolution Options */ |
46 | | - "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ |
47 | | - // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */ |
48 | | - // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ |
49 | | - // "rootDirs": ["../driver/src"], /* List of root folders whose combined content represents the structure of the project at runtime. */ |
50 | | - // "typeRoots": [] /* List of folders to include type definitions from. */ |
51 | | - |
52 | | - /* Type declaration files to be included in compilation. */ |
| 9 | + "noErrorTruncation": true, |
53 | 10 | "paths": { |
54 | 11 | "@cy/i18n": ["../frontend-shared/src/locales/i18n"], |
55 | 12 | "@cy/components/*": ["../frontend-shared/src/components/*"] |
|
63 | 20 | "cypress-real-events", |
64 | 21 | "cypress" |
65 | 22 | ], |
66 | | - "allowSyntheticDefaultImports": true, |
67 | | - "esModuleInterop": true, |
68 | | - "noErrorTruncation": true, |
69 | | - "experimentalDecorators": true, |
70 | | - "resolveJsonModule": true, |
71 | | - "ignoreDeprecations": "5.0", |
72 | | - /* |
73 | | - * TODO: remove importsNotUsedAsValues after typescript 5.5 and up as it will no longer work. If we want the same behavior |
74 | | - * as importsNotUsedAsValues, we need to use "verbatimModuleSyntax", which will require this package to be an ES Module. |
75 | | - */ |
76 | | - "importsNotUsedAsValues": "error", |
77 | | - "useUnknownInCatchVariables": false |
78 | 23 | } |
79 | 24 | } |
0 commit comments