Skip to content

Commit 69638ae

Browse files
committed
Update tsconfig
1 parent dd9420a commit 69638ae

1 file changed

Lines changed: 19 additions & 15 deletions

File tree

tsconfig.json

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,36 @@
11
{
22
"compilerOptions": {
3+
"noEmit": true,
34
"target": "esnext",
4-
"module": "NodeNext",
5-
"strict": true,
5+
"module": "esnext",
6+
"moduleResolution": "bundler",
7+
68
"lib": ["esnext"],
9+
"types": ["node", "jsdom", "node-cron"],
10+
11+
"skipLibCheck": true,
12+
"skipDefaultLibCheck": true,
713

8-
"allowImportingTsExtensions": true,
914
"erasableSyntaxOnly": true,
1015

11-
// Additional Checks
12-
// "noUnusedLocals": true,
13-
// "noUnusedParameters": true,
14-
// "noImplicitReturns": true,
15-
// "noUncheckedIndexedAccess": true,
16-
// "noPropertyAccessFromIndexSignature": true,
16+
"resolveJsonModule": true,
1717

18-
"noEmit": true,
19-
"skipLibCheck": true,
20-
"skipDefaultLibCheck": true,
18+
"strict": true,
19+
"noImplicitReturns": true,
20+
"verbatimModuleSyntax": true,
2121
"forceConsistentCasingInFileNames": true,
22+
// "noUncheckedIndexedAccess": true,
23+
"allowUnreachableCode": false,
24+
"allowUnusedLabels": false,
25+
"noFallthroughCasesInSwitch": true,
26+
27+
"allowImportingTsExtensions": true,
2228

2329
"paths": {
2430
"#log": ["./src/utils/logger.ts"],
2531
"#db": ["./src/storage/db/db.ts"],
2632
"#/*": ["./src/*"]
27-
},
28-
29-
"types": ["node", "jsdom", "node-cron"]
33+
}
3034
},
3135
"include": ["src"]
3236
}

0 commit comments

Comments
 (0)