|
1 | | -/* eslint-disable jsonc/sort-keys */ |
2 | 1 | { |
3 | 2 | "compilerOptions": { |
4 | | - // ====================================================================== |
5 | | - // Language & Environment |
6 | | - // Defines JavaScript version and runtime environment |
7 | | - // ====================================================================== |
8 | 3 | "target": "ES2017", |
9 | 4 | "module": "esnext", |
10 | 5 | "lib": [ |
|
14 | 9 | ], |
15 | 10 | "moduleResolution": "bundler", |
16 | 11 | "isolatedModules": true, |
17 | | - // ====================================================================== |
18 | | - // Type Safety - Foundation |
19 | | - // Core type checking settings for a robust codebase |
20 | | - // ====================================================================== |
21 | 12 | "strict": true, |
22 | 13 | "alwaysStrict": true, |
23 | 14 | "strictNullChecks": true, |
24 | 15 | "noImplicitAny": true, |
25 | 16 | "noImplicitThis": true, |
26 | | - // ====================================================================== |
27 | | - // Type Safety - Advanced |
28 | | - // Additional checks for higher code quality |
29 | | - // ====================================================================== |
30 | 17 | "noUncheckedIndexedAccess": true, |
31 | 18 | "noImplicitReturns": true, |
32 | 19 | "noUnusedLocals": true, |
|
35 | 22 | "allowUnreachableCode": false, |
36 | 23 | "useUnknownInCatchVariables": true, |
37 | 24 | "noImplicitOverride": true, |
38 | | - // ====================================================================== |
39 | | - // Interoperability |
40 | | - // Settings for working with different file types and modules |
41 | | - // ====================================================================== |
42 | 25 | "allowJs": true, |
43 | 26 | "checkJs": true, |
44 | 27 | "esModuleInterop": true, |
45 | 28 | "resolveJsonModule": true, |
46 | | - // ====================================================================== |
47 | | - // Build & Performance |
48 | | - // Settings that affect compilation output and build performance |
49 | | - // ====================================================================== |
50 | 29 | "skipLibCheck": true, |
51 | 30 | "removeComments": true, |
52 | 31 | "preserveConstEnums": true, |
53 | 32 | "forceConsistentCasingInFileNames": true, |
54 | | - // ====================================================================== |
55 | | - // Project Structure |
56 | | - // Configure import paths and module resolution |
57 | | - // ====================================================================== |
58 | 33 | "baseUrl": ".", |
59 | 34 | "paths": { |
60 | 35 | "@/*": [ |
|
64 | 39 | "./public/*" |
65 | 40 | ] |
66 | 41 | }, |
67 | | - // ====================================================================== |
68 | | - // Next.js Project Configuration |
69 | | - // Controls settings specific to Next.js framework |
70 | | - // ====================================================================== |
71 | | - "jsx": "react-jsx", // Uses the React automatic runtime |
72 | | - "incremental": true, // Enable faster incremental builds |
73 | | - "noEmit": true, // Skip emitting files (Next.js handles this) |
| 42 | + "jsx": "react-jsx", |
| 43 | + "incremental": true, |
| 44 | + "noEmit": true, |
74 | 45 | "plugins": [ |
75 | 46 | { |
76 | 47 | "name": "next" |
77 | 48 | } |
78 | | - ] // Enable Next.js TypeScript plugin |
| 49 | + ] |
79 | 50 | }, |
80 | | - // Files to include/exclude from the project |
81 | 51 | "exclude": [ |
82 | 52 | "node_modules", |
83 | 53 | "**/*.spec.ts", |
|
0 commit comments