forked from stephendade/Rpanion-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
43 lines (36 loc) · 1.54 KB
/
Copy pathtsconfig.json
File metadata and controls
43 lines (36 loc) · 1.54 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
{
"//": "Backend-only (CommonJS Node) gradual TypeScript migration. src/ (React/Vite) is out of scope. Phase 1 is deliberately loose (allowJs, non-strict) so a single .js->.ts rename compiles with zero new type errors; tighten the strict block over time. Emit-in-place (outDir '.') keeps the .deb/systemd/paths.js layout byte-identical.",
"compilerOptions": {
"target": "ES2022",
"module": "CommonJS",
"moduleResolution": "Node",
"lib": ["ES2022"],
"allowJs": true,
"checkJs": false,
"rootDir": ".",
"outDir": ".",
"sourceMap": true,
"inlineSources": true,
"declaration": false,
"removeComments": false,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true,
"types": ["node"],
"noEmitOnError": true,
"strict": false,
"noImplicitAny": true,
"strictNullChecks": true,
"noUnusedLocals": false,
"noUnusedParameters": false
},
"include": ["server/**/*.ts", "mavlink/**/*.ts", "typings/**/*.d.ts"],
"exclude": ["node_modules", "build", "coverage", "dist", "src", "test", "**/*.test.js", "**/*.test.ts"],
"ts-node": {
"//": "Test-time only. transpileOnly skips type-checking (use `npm run typecheck`); ignoring .js leaves plain JS to Node so nyc instruments it natively (allowJs above is only for tsc resolving .ts->.js imports during the migration, NOT for ts-node to transpile .js).",
"transpileOnly": true,
"ignore": ["(?:^|/)node_modules/", "\\.js$"]
}
}