-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.app.json
More file actions
57 lines (55 loc) · 1.94 KB
/
tsconfig.app.json
File metadata and controls
57 lines (55 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/**
* tsconfig.app.json
*
* Purpose:
* Provides the TypeScript compiler configuration specific to the application source code.
* This configuration establishes the type-checking rules, compiler features, and module
* resolution settings that ensure type safety and consistent behavior across the FitFlow
* application.
*
* Key Features:
* - Target ECMAScript version specification for browser compatibility
* - Module import/export resolution configuration
* - TypeScript library inclusions for DOM and modern JavaScript features
* - React JSX transformation settings
* - Strict type-checking enforcement for improved code quality
* - Development-focused optimizations like noEmit for build tools
*
* Technical Details:
* - Uses bundler module resolution for compatibility with Vite
* - Configures import features tailored for single-page application development
* - Enables strict mode with comprehensive type checking rules
* - Supports JSX syntax required for React components
* - Prevents unused code through unused locals/parameters checks
*
* Integration:
* - Referenced by the root tsconfig.json through project references
* - Used by Vite during development and build processes
* - Works alongside ESLint configuration for code quality
* - Sets standards for all application source files
*
* Recent Changes:
* - 2025-03-01: Added comprehensive documentation following project standards
*/
{
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"isolatedModules": true,
"moduleDetection": "force",
"noEmit": true,
"jsx": "react-jsx",
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
"include": ["src"]
}