summaryrefslogtreecommitdiff
path: root/jb-ui/tsconfig.json
diff options
context:
space:
mode:
Diffstat (limited to 'jb-ui/tsconfig.json')
-rw-r--r--jb-ui/tsconfig.json61
1 files changed, 61 insertions, 0 deletions
diff --git a/jb-ui/tsconfig.json b/jb-ui/tsconfig.json
new file mode 100644
index 0000000..1464ffb
--- /dev/null
+++ b/jb-ui/tsconfig.json
@@ -0,0 +1,61 @@
+{
+ // Core TypeScript compiler configuration.
+ // -- Central to type checking, used by Vite, Jest, and ESLint.
+ "compilerOptions": {
+ // "baseUrl": ".",
+ "target": "ES2020",
+ "lib": [
+ "DOM",
+ "DOM.Iterable",
+ "ESNext"
+ ],
+ "jsx": "preserve",
+ "types": [
+ "vite/client",
+ "node",
+ "jest"
+ ],
+ "typeRoots": [
+ "./node_modules/@types",
+ "./src/types"
+ ],
+ // Add this
+ "allowJs": true,
+ "skipLibCheck": true,
+ "useDefineForClassFields": true,
+ "strict": true,
+ "noEmit": true,
+ "esModuleInterop": true,
+ "module": "ESNext",
+ "moduleResolution": "bundler",
+ "isolatedModules": true,
+ "incremental": true,
+ "noImplicitAny": true,
+ "strictNullChecks": true,
+ "strictFunctionTypes": true,
+ "strictBindCallApply": true,
+ "strictPropertyInitialization": true,
+ "noImplicitThis": true,
+ "alwaysStrict": true,
+ // Linting rules
+ "noUnusedLocals": true,
+ "noUnusedParameters": true,
+ "noImplicitReturns": true,
+ "noFallthroughCasesInSwitch": true,
+ "paths": {
+ "@/*": [
+ "./src/*"
+ ]
+ }
+ },
+ "include": [
+ "src",
+ "vite.config.ts",
+ "**/*.ts",
+ "**/*.tsx"
+ ],
+ "exclude": [
+ "node_modules",
+ "dist",
+ ]
+} \ No newline at end of file