-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
33 lines (30 loc) · 1.12 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
{"compilerOptions" : {
"baseUrl" : ".",
"module" : "ESNext",
"target" : "es2016",
"lib" : ["DOM","ESNext"],
"esModuleInterop" : true,
"incremental" : false,
"skipLibCheck" : true,
//
"moduleResolution" : "bundler",
"noEmit" : true,
// "allowImportingTsExtensions" : true, // ts files can import each other with .ts, .mts, .tsx
"resolveJsonModule" : true,
"isolatedModules" : true, // make sure that your TypeScript code works across different compilers
"jsx" : "preserve",
// Linting
"strict" : true,
"noUnusedLocals" : true,
"noUnusedParameters" : true,
"noFallthroughCasesInSwitch" : true,
"forceConsistentCasingInFileNames" : true,
"noImplicitAny" : false, // hide no declaration file for module 'rollup-plugin-url-resolve'
"types" : ["node"],
"typeRoots" : ["./node_modules/@types"],
"paths" : {
"~/*" : ["src/*"]
},
},
"exclude" : ["dist","node_modules"]
}