-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
53 lines (49 loc) · 1.67 KB
/
Copy pathtsconfig.json
File metadata and controls
53 lines (49 loc) · 1.67 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
{
"compilerOptions": {
// Environment setup & latest features
"lib": ["ESNext"],
"target": "ESNext",
"module": "Preserve",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,
"types": ["bun"],
// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,
// Single-package layout: `fcc` = the engine, `fcc/<plugin>` = each plugin
// namespace under src/. Mirrors package.json "exports"; examples inherit
// these via `extends`.
"baseUrl": ".",
"paths": {
"fcc": ["./src/engine/engine.ts"],
"fcc/json": ["./src/json/json.ts"],
"fcc/pages": ["./src/pages/pages.ts"],
"fcc/fsh": ["./src/fsh/fsh.ts"],
"fcc/ts": ["./src/ts/ts.ts"],
"fcc/snapshot": ["./src/snapshot/snapshot.ts"],
"fcc/narrative": ["./src/narrative/narrative.ts"],
"fcc/validator": ["./src/validator/validator.ts"],
"fcc/ig-resource": ["./src/ig-resource/ig-resource.ts"],
"fcc/npm": ["./src/npm/npm.ts"],
"fcc/manifest": ["./src/manifest/manifest.ts"],
"fcc/sqlite": ["./src/sqlite/sqlite.ts"],
"fcc/menu": ["./src/menu/menu.ts"],
"fcc/deps": ["./src/deps/deps.ts"],
"fcc/site": ["./src/site/site.ts"],
"fcc/presets": ["./src/presets/presets.ts"]
},
// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false
}
}