mirror of
https://github.com/Kong/insomnia.git
synced 2026-05-19 06:12:37 -04:00
43 lines
1.1 KiB
JSON
43 lines
1.1 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": ["ES2023", "DOM", "DOM.Iterable"],
|
|
/* Strictness */
|
|
"strict": true,
|
|
"noImplicitReturns": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"useUnknownInCatchVariables": false
|
|
},
|
|
"include": [".eslintrc.js", "esbuild.ts", "package.json", "src", "../insomnia/types"],
|
|
"exclude": [
|
|
"**/*.test.ts",
|
|
"**/__mocks__/*",
|
|
"**/__snapshots__/**",
|
|
"assets",
|
|
"bin",
|
|
"dist",
|
|
"node_modules",
|
|
"scripts",
|
|
"src/vitest"
|
|
]
|
|
}
|