summaryrefslogtreecommitdiff
path: root/frontend/tsconfig.json
diff options
context:
space:
mode:
authorPaweł Bernaciak <pawelbernaciak@zohomail.eu>2023-10-27 16:09:31 +0200
committerPaweł Bernaciak <pawelbernaciak@zohomail.eu>2023-10-27 16:09:31 +0200
commit33d1d72d5e7f2e8e7f846bbf8651d7f128765c64 (patch)
tree1b45b9cf6380a7910fa2d37c723af6a1432d5de3 /frontend/tsconfig.json
parent842aaba2300b295f6e046bfaf9f34cb556e203b8 (diff)
New frontend project
Diffstat (limited to 'frontend/tsconfig.json')
-rw-r--r--frontend/tsconfig.json43
1 files changed, 24 insertions, 19 deletions
diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json
index 0656538..7a7611e 100644
--- a/frontend/tsconfig.json
+++ b/frontend/tsconfig.json
@@ -1,20 +1,25 @@
{
- "compilerOptions": {
- "target": "es5",
- "lib": [
- "dom",
- "dom.iterable",
- "esnext"
- ],
- "strict": true,
- "forceConsistentCasingInFileNames": true,
- "allowSyntheticDefaultImports": true,
- "module": "esnext",
- "moduleResolution": "node",
- "resolveJsonModule": true,
- "jsx": "react-jsx"
- },
- "include": [
- "src"
- ]
- } \ No newline at end of file
+ "compilerOptions": {
+ "target": "ES2020",
+ "useDefineForClassFields": true,
+ "lib": ["ES2020", "DOM", "DOM.Iterable"],
+ "module": "ESNext",
+ "skipLibCheck": true,
+
+ /* Bundler mode */
+ "moduleResolution": "bundler",
+ "allowImportingTsExtensions": true,
+ "resolveJsonModule": true,
+ "isolatedModules": true,
+ "noEmit": true,
+ "jsx": "react-jsx",
+
+ /* Linting */
+ "strict": true,
+ "noUnusedLocals": true,
+ "noUnusedParameters": true,
+ "noFallthroughCasesInSwitch": true
+ },
+ "include": ["src"],
+ "references": [{ "path": "./tsconfig.node.json" }]
+} \ No newline at end of file