28 lines
915 B
JSON
28 lines
915 B
JSON
|
|
{
|
||
|
|
"compilerOptions": {
|
||
|
|
"target": "ES2022",
|
||
|
|
"lib": ["ES2023", "DOM"],
|
||
|
|
"module": "ESNext",
|
||
|
|
"moduleResolution": "bundler",
|
||
|
|
"types": ["node", "@playwright/test"],
|
||
|
|
"skipLibCheck": true,
|
||
|
|
"esModuleInterop": true,
|
||
|
|
"allowSyntheticDefaultImports": true,
|
||
|
|
"isolatedModules": true,
|
||
|
|
"moduleDetection": "force",
|
||
|
|
"noEmit": true,
|
||
|
|
|
||
|
|
/* Linting */
|
||
|
|
"strict": true,
|
||
|
|
// The app repo's tsconfig.app.json only included `src`, so tests/ was
|
||
|
|
// never typechecked there. Turning these on surfaces four pre-existing
|
||
|
|
// unused locals in the specs (management/refunds/terminals) that are not
|
||
|
|
// worth touching as part of the extraction - left off so `npm run
|
||
|
|
// typecheck` stays a useful signal for real type errors.
|
||
|
|
"noUnusedLocals": false,
|
||
|
|
"noUnusedParameters": false,
|
||
|
|
"noFallthroughCasesInSwitch": true
|
||
|
|
},
|
||
|
|
"include": ["tests", "playwright.config.ts"]
|
||
|
|
}
|