-
Notifications
You must be signed in to change notification settings - Fork 253
Expand file tree
/
Copy pathtsconfig.json
More file actions
54 lines (54 loc) · 1.53 KB
/
tsconfig.json
File metadata and controls
54 lines (54 loc) · 1.53 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"compilerOptions": {
"target": "ES2022",
"useDefineForClassFields": true,
"module": "ESNext",
"lib": [
"ES2022",
"DOM",
"DOM.Iterable"
],
"types": [
"vite/client"
],
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"moduleDetection": "force",
"noEmit": true,
"allowJs": true,
/* Linting */
"strict": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true,
/* Temporary fix!!! This is only really a problem in dependencies. */
/* Not sure how to best handle this in the long term, though. */
"noUnusedLocals": false, /* SHOULD be true */
"noUnusedParameters": false, /* SHOULD be true */
/**
* The TS transpilation of the qoi-fu dependency isn't compabile with
* our settings. They do provide a JS file, but tsc _really_ wants to
* import the TS file instead. We define a custom path to steer it
* away from the TS file.
*/
"baseUrl": ".",
"paths": {
"qoi-fu": ["./src/handlers/qoi-fu/transpiled/QOI.js"],
"qoa-fu": ["./src/handlers/qoa-fu/transpiled/QOA.js"]
}
},
"include": [
"src"
],
"exclude": [
"src/handlers/qoi-fu/**/*",
"src/handlers/qoa-fu/**/*",
"src/handlers/sppd/**/*",
"src/handlers/espeakng.js/**/*",
"src/handlers/image-to-txt/src/app.ts",
"src/handlers/image-to-txt/src/generate.ts",
"src/handlers/terraria-wld-parser/**/*"
]
}