forked from farcasterxyz/hub-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
43 lines (34 loc) · 1.28 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
35
36
37
38
39
40
41
42
43
{
"compilerOptions": {
/* Needed to import CJS modules like Jest */
"allowSyntheticDefaultImports": true,
/* Emit additional JS to ease support for importing CJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */
"esModuleInterop": true,
/* Use ESM by default instead of CJS*/
"module": "ES2022",
/* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"target": "es2022",
"moduleResolution": "Node",
"paths": {
"~/*": ["./*"]
},
"baseUrl": "./src",
"outDir": "build",
"rootDir": "src",
"sourceMap": true,
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true,
"strict": true,
"allowUnreachableCode": false,
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
// TODO: fixing this is tracked here: https://github.com/farcasterxyz/hub/issues/151
// "noPropertyAccessFromIndexSignature": true,
// "noUncheckedIndexedAccess": true,
"noUnusedLocals": false, // causes hard failures when iterating in dev, enforce with eslint instead
"noUnusedParameters": false
},
"exclude": ["node_modules", "jest.config.ts"]
}