-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
34 lines (32 loc) · 1.08 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* Based on config from create-vite template: lit-ts */
{
"compilerOptions": {
"target": "ESNext",
"experimentalDecorators": true,
"useDefineForClassFields": false,
"module": "ESNext",
"lib": ["ESNext", "DOM", "DOM.Iterable"],
// TODO: Don't use this as it also skips checking our .d.ts files
// Instead we should try to fix the errors in (currently) ext/aws-sdk, mqtt and @vitest
"skipLibCheck": true,
/* Bundler mode */
// TODO: Switch to bundler once vite-plugin-dts supports it to match conventional vite tsconfig
// "moduleResolution": "bundler",
"moduleResolution": "node",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
/* Linting */
"strict": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": false,
"noFallthroughCasesInSwitch": true,
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"noImplicitOverride": true
},
"include": ["**/*.ts"],
"exclude": ["dist", "node_modules"]
}