Split test suites for explicit runtime execution. - Move model-related tests under `src/models/*`. - Move CLI/integration tests under `src/integration/*`. - Add `src/store.helpers.unit.test.ts` for helper unit coverage. - Add shared Vitest config with default timeout and suite organization. - Remove legacy flat test files from `src/` root. - Keep core test commands in scripts supporting unit/models/integration runs.
29 lines
687 B
JSON
29 lines
687 B
JSON
{
|
|
"compilerOptions": {
|
|
// Environment setup & latest features
|
|
"lib": ["ESNext"],
|
|
"target": "ESNext",
|
|
"module": "nodenext",
|
|
"moduleDetection": "force",
|
|
"jsx": "react-jsx",
|
|
"allowJs": true,
|
|
|
|
// Node.js module resolution
|
|
"moduleResolution": "nodenext",
|
|
"verbatimModuleSyntax": true,
|
|
"noEmit": true,
|
|
|
|
// Best practices
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noImplicitOverride": true,
|
|
|
|
// Some stricter flags (disabled by default)
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false,
|
|
"noPropertyAccessFromIndexSignature": false
|
|
}
|
|
}
|