mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-02-19 16:22:25 +01:00
* chore: upgrade to TS 5.6 * chore: upgrade to TS 5.7 * feat: upgate to TS 5.8 * chore: update eslint * fix: use es2023 also for build
54 lines
1.4 KiB
JSON
54 lines
1.4 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"allowJs": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"allowUnreachableCode": false,
|
|
"jsx": "preserve",
|
|
"module": "ESNext",
|
|
"moduleResolution": "Bundler",
|
|
"target": "ES2023",
|
|
"removeComments": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"skipLibCheck": true,
|
|
"sourceMap": true,
|
|
"strict": true,
|
|
"strictNullChecks": true,
|
|
"noErrorTruncation": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"useUnknownInCatchVariables": false,
|
|
"resolveJsonModule": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"isolatedModules": true,
|
|
"types": ["jest", "node"],
|
|
"esModuleInterop": true,
|
|
"composite": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"incremental": true,
|
|
"noEmitOnError": true,
|
|
"emitDeclarationOnly": true
|
|
},
|
|
"exclude": [
|
|
"**/node_modules",
|
|
"**/lib",
|
|
"**/libESM",
|
|
"**/libDev",
|
|
"**/build",
|
|
"**/build-electron",
|
|
"**/build-webextension",
|
|
"**/dist",
|
|
"**/coverage",
|
|
"**/public",
|
|
"**/protobuf-patches",
|
|
"**/trezor-common",
|
|
"**/jest.config.*js"
|
|
],
|
|
"ts-node": {
|
|
"compilerOptions": {
|
|
"module": "CommonJS",
|
|
"moduleResolution": "node"
|
|
}
|
|
}
|
|
}
|