Files
pardis/jsconfig.json
2026-09-06 13:50:58 +02:00

29 lines
957 B
JSON

{
"compilerOptions": {
"moduleResolution": "bundler",
"target": "ESNext",
"module": "ESNext",
"verbatimModuleSyntax": true,
"isolatedModules": true,
"resolveJsonModule": true,
"sourceMap": true,
"esModuleInterop": true,
"types": ["vite/client"],
"skipLibCheck": true,
"noEmit": true,
/**
* Typecheck JS in `.svelte` and `.js` files. The data layer carries JSDoc
* typedefs (see src/lib/db.js), so schema mistakes are caught here.
*
* `strict` stays off deliberately: the app code is plain untyped JS, and
* turning it on demands ~200 annotations on component props and callbacks
* for very little bug-catching return. Revisit if this grows.
*/
"checkJs": true,
"strict": false
},
/** Tests use vitest globals and fixtures; they are covered by `npm test`. */
"exclude": ["src/**/*.test.js"],
"include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.svelte"]
}