mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
44642a49e9
* remove send-request * move types * fix type-checks * remove pointless const * handle react in inso unit test * remove
58 lines
1.2 KiB
JSON
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",
|
|
],
|
|
}
|