testsAndMisc/kcd2_dice_solver/tsconfig.json
Krzysztof kuhy Rudnicki 3babda92d2 Track kcd2_dice_solver app and add run.sh dependency installer
The Vite/React/TS dice solver had no git history yet. Commit it alongside
a run.sh that ensures Node/pnpm are present, installs deps, and starts
the dev server with a single command.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-21 18:17:13 +02:00

32 lines
1018 B
JSON

{
"compilerOptions": {
"target": "ES2023",
"module": "esnext",
"lib": ["ES2023", "DOM", "DOM.Iterable", "WebWorker"],
"jsx": "react-jsx",
"types": ["vite/client", "vitest/globals"],
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"moduleDetection": "force",
"noEmit": true,
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"exactOptionalPropertyTypes": true
/* Deliberately NOT enabling noUncheckedIndexedAccess: every array index in
the solver is already bounds-derived, so the flag only forces `?? 0`
fallbacks and `if (!x) continue` guards on branches that cannot execute.
Those are untestable, and this project holds a 100% branch-coverage bar —
the flag would buy nothing but coverage pragmas. */
},
"include": ["src", "vite.config.ts"]
}