forked from adeze/raindrop-mcp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
39 lines (38 loc) · 1.16 KB
/
tsconfig.json
File metadata and controls
39 lines (38 loc) · 1.16 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
{
"compilerOptions": {
// Environment setup & latest features
"lib": ["ESNext"],
"forceConsistentCasingInFileNames": true,
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"esModuleInterop": true,
"resolveJsonModule": true,
"jsx": "react-jsx",
"allowJs": true,
"outDir": "build",
"rootDir": ".",
// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,
// Best practices
"strict": true, // Disable all strict checks
"skipLibCheck": true,
"declaration": true,
"sourceMap": true, // Enable .js.map files for debugging
"inlineSources": true, // Embed original .ts source in the map
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"exactOptionalPropertyTypes": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"useUnknownInCatchVariables": true,
// Vitest support
"types": ["vitest/globals", "node", "bun-types"]
},
"include": ["src/**/*", "tests/**/*"],
"exclude": ["node_modules", "**/.*/", "**/docs/**/*"]
}