Merge branch 'tsconfig' into 'main'

Simplify tsconfig

See merge request soapbox-pub/soapbox!3226
This commit is contained in:
Alex Gleason 2024-11-09 23:03:29 +00:00
commit bfaa608e90
1 changed files with 19 additions and 17 deletions

View File

@ -1,28 +1,30 @@
{ {
"compilerOptions": { "compilerOptions": {
"baseUrl": "./",
"outDir": "dist",
"sourceMap": true,
"strict": true,
"module": "ESNext",
"lib": ["ESNext", "DOM"],
"target": "ESNext", "target": "ESNext",
"jsx": "react-jsx", "lib": ["ESNext", "DOM", "DOM.Iterable"],
"allowJs": true, "module": "ESNext",
"isolatedModules": true,
"noUnusedLocals": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true,
"moduleResolution": "Bundler",
"resolveJsonModule": true,
"esModuleInterop": true,
"skipLibCheck": true, "skipLibCheck": true,
"outDir": "dist",
"paths": { "paths": {
"soapbox/*": ["src/*"], "soapbox/*": ["./src/*"],
}, },
"types": [ "types": [
"vite/client", "vite/client",
"@webbtc/webln-types" "@webbtc/webln-types"
] ],
/* Bundler mode */
"moduleResolution": "Bundler",
"allowImportingTsExtensions": true,
"isolatedModules": true,
"moduleDetection": "force",
"noEmit": true,
"jsx": "react-jsx",
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true
} }
} }