insomnia/packages/insomnia-inso/tsconfig.json
Jack Kavanagh 44642a49e9
remove send-request (#7731)
* remove send-request

* move types

* fix type-checks

* remove pointless const

* handle react in inso unit test

* remove
2024-07-18 15:06:28 +02:00

58 lines
1.2 KiB
JSON

{
"compilerOptions": {
/* Basic */
"esModuleInterop": true,
"skipLibCheck": true,
"target": "es2022",
"allowJs": true,
"checkJs": true,
"resolveJsonModule": true,
"moduleResolution": "node",
"isolatedModules": true,
"paths": {
"electron": [
"../insomnia/send-request/electron",
],
},
/* remove this once react AlertModal is out of the plugins code path */
"jsx": "react",
/* Transpiling Options */
"module": "CommonJS",
"sourceMap": true,
/* Runs in the DOM NOTE: this is inconsistent with reality */
"lib": [
"ES2020",
"DOM.Iterable",
"DOM"
],
/* Strictness */
"strict": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"useUnknownInCatchVariables": false,
},
"include": [
".eslintrc.js",
"esbuild.ts",
"jest.config.js",
"package.json",
"src",
"../insomnia/types",
],
"exclude": [
"**/*.test.ts",
"**/__mocks__/*",
"**/__snapshots__/**",
"assets",
"bin",
"dist",
"jest.config.js",
"node_modules",
"scripts",
"src/jest",
],
}