Commit 03f6439
committed
chore(tsconfig): extend canonical fleet base, lift extension-specific knobs
Restructures the concrete tsconfig.json to extend tsconfig.base.json
(was previously standalone) and consolidates the extension-only knobs:
- lib: ["DOM", "ES2024"] — WASM glue (Go runtime, acorn-wasm) needs DOM.
- declaration: true — extension ships .d.ts.
- allowSyntheticDefaultImports: true — VS Code API + WASM ergonomics.
- erasableSyntaxOnly: false — extension uses parameter properties /
decorators that emit runtime code; erasable-only would forbid them.
- noEmit: false / noEmitOnError: false — VS Code extension emits.
- sourceMap: true — extension host debugger needs source maps.
The 7 other strict flags previously kept lax (noUnusedLocals,
noUnusedParameters, noPropertyAccessFromIndexSignature,
noUncheckedIndexedAccess, verbatimModuleSyntax, exactOptionalPropertyTypes)
now flow through from the fleet-canonical base.
Also narrows the build tsconfig include to ../src/**/*.ts so it doesn't
sweep .config/ tooling sources, switches moduleResolution to bundler to
silence deprecation warnings, removes the verbatimModuleSyntax: false
override from tsconfig.check.json, and updates .gitignore to cover the
.config/**/*.d.mts emit byproducts.1 parent 96be260 commit 03f6439
3 files changed
Lines changed: 34 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
5 | 10 | | |
6 | 11 | | |
7 | 12 | | |
8 | 13 | | |
9 | 14 | | |
10 | | - | |
11 | | - | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
3 | 11 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 12 | + | |
8 | 13 | | |
9 | | - | |
10 | 14 | | |
11 | | - | |
12 | | - | |
13 | 15 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
18 | 30 | | |
19 | 31 | | |
20 | 32 | | |
21 | 33 | | |
| 34 | + | |
22 | 35 | | |
23 | 36 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
| 17 | + | |
0 commit comments